Solved

Does anyone know Y??

Posted on 2001-09-16
11
205 Views
Last Modified: 2010-04-15
Hi all,

Can anyone kindly explain :
Why doesn?t the use of standard ?.h? include files in C provide an adequate data abstraction capability for C programs?

Thanks..
Your Sincerely,
_kid
0
Comment
Question by:_kid
  • 3
  • 3
  • 2
  • +3
11 Comments
 
LVL 2

Expert Comment

by:bkdc
ID: 6486211
hey _kid, please explain
0
 
LVL 6

Expert Comment

by:Triskelion
ID: 6486364
Think about what that means.
Database abstraction is outside the scope of any standard programming language framework (except stuff like Clipper).  Does anyone still use Clipper?

Now we have ODBC, ADO, DAO, OLEDB, etc., but think about how much that has changed since the development of languages like C.
If it did have database abstraction from the beginning, what would it be? dBase?

Instead, we're given the commands with which we create our own LIBRARIES that handle the databases specific to our needs.

Think about all of the things that don't exist now (in programming).  If the language developers bank the foundation on a particular paradigm without the flexibility to either circumvent or disable it, they're surely asking for abandonment of their language.
0
 
LVL 6

Expert Comment

by:graham_k
ID: 6486960
hey, _kid, when did your professor say the assignemnt was due?
0
 
LVL 6

Expert Comment

by:Triskelion
ID: 6487434
That is a rather heavy *first* question.
0
 

Author Comment

by:_kid
ID: 6487832
hi,

This is the question i posted...
Why doesn't the use of standard '.h' include files in C provide an adequate data abstraction capability
for C programs?

i am puzzled of how i should answer this question...
would be grateful if someone can tell me the meaning of it ... why C programs have this limitations ?

Thanks alot,
_kid



0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 6

Expert Comment

by:Triskelion
ID: 6487962
It's not a limitation.
See my earlier comments.
What are you comparing this to?
Why do you think there are limitations?

You're asking (in essence):
   Why doesn't my car have a map of highway 40 in it?
0
 
LVL 7

Accepted Solution

by:
peterchen092700 earned 10 total points
ID: 6487976
Didn't your professor give you some, ahem, they used to call it "lessons". Where you show up, and he's telling you (more or less) the answers for the questions he's going to ask later. Yes I know, it's a weird sort order...

Of course, there are nasty professors. They tell you what "data abstraction is". then, weeks later, they tell you what C standard headers are. Then, they ask you questions like

"Why doesn't the use of standard '.h' include files in C provide an adequate data abstraction capability"

(There's an even nastier kind: They ask, in the very first lesson, "did you learn what data abstraction is last year?" And everybody mumbles hmmhmmmm they assume this means "yes")

Why can't my cat handle the vac?

Ask yourself: What is "data abstraction"?. What level of data abstraction is adequate for a C program? How are standard header files related to data abstraction?


(at least 2nd sub question shows that the question, without context, is silly. and the answer to the 3rd subquestion shows it's badly worded. However, given the context of your lessons, this might be on page 42)

Peter
0
 
LVL 51

Expert Comment

by:ahoffmann
ID: 6488779
> .. page 42)
hmm, I thought the answer is 42, always, ever, even in this context.
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 6489632
*g* I'm fallen for the myth. Above sentence is valid for 42=17=PI.
0
 

Author Comment

by:_kid
ID: 6491755
yup... thanks...
i think i got the answer...
but thanks anywae...

_kid
0
 

Author Comment

by:_kid
ID: 6491758
thanks.. for reminding me...
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

An Outlet in Cocoa is a persistent reference to a GUI control; it connects a property (a variable) to a control.  For example, it is common to create an Outlet for the text field GUI control and change the text that appears in this field via that Ou…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
The goal of this video is to provide viewers with basic examples to understand how to use strings and some functions related to them in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now