Solved

Does anyone know Y??

Posted on 2001-09-16
11
233 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
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 
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
 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Microsoft vcsetup.exe and vcssetup.exe 8 435
XCode crashes while uploading to app store. 5 266
Best UNIX-compatible free C compiler for Windows or Mac 6 255
C dll call freezes 5 107
Have you thought about creating an iPhone application (app), but didn't even know where to get started? Here's how: ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ Important pre-programming comments: I’ve never tri…
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…
The goal of this video is to provide viewers with basic examples to understand opening and writing to files in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use conditional statements in the C programming language.

828 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