Need comments on using C libraries 
Author Message
 Need comments on using C libraries

Hi,

 I'm currently working on an assignment dealing with development of software
as a part of the computer science programme at Link?ping University, and I'm
supposed to write about the usage of libraries when programming in C.
Because I myself have little experience of C programming, I am wondering if
you could help me out. What I need is some comments on what's good and what's
bad about using libraries, what libraries you have used and if they behaved as
expected and so on. No need for any lengthy discussions, just some comments
would be fine.


Thank you for your time.

--
Magnus                |  We're Bingo Numbers and our Names are obsolete    
                      |  Why do I feel Bitter when I should be feeling Sweet



Mon, 26 Oct 1998 03:00:00 GMT  
 Need comments on using C libraries

The standard libraries are what make C portable.  stdio for example includes
the printf function.  printf itself will be different from one platform to
another.  (or at least putchar() will be) When you take your source to another
platform and recompile, you are all set.

The FILE structure is another example.... You don't need to know anything
about the fields that make up FILE (and no one could tell you what they are -
from one compiler to another even on the same platform the answer will be
different.)

If you are looking for a downside, scanf() is one problematic function that is
hardly usable without combining it with a keyboard buffer flusher.  It is the
only embarrassment to the language that I can think of.



Mon, 26 Oct 1998 03:00:00 GMT  
 Need comments on using C libraries



Quote:
> If you are looking for a downside, scanf() is one problematic function that is
> hardly usable without combining it with a keyboard buffer flusher.  It is the
> only embarrassment to the language that I can think of.

I take it you've never heard of gets() then? :-)

.splitbung
--
* TQ 1.0 * The 'Just So Quotes'.
MS-DOS isn't dead, it just smells that way.
        -- Henry Spencer



Mon, 26 Oct 1998 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Need comments on commenting program

2. Newbie: separate big .cs file into small .cs files

3. newbe/cs student, need help w/ code

4. resx files needed for cs - files ??

5. Need C++ text for non cs major course

6. Compile CS source code using ICodeCompiler

7. Two CS files (using namespaces)

8. Need help to resolve errors in using Shared libraries

9. Survey on using C as intro CS langauge (?)

10. Survey on using C as intro CS langa

11. Request for Comments: Library Memory Standard

12. Changing from using shared libraries to static libraries.

 

 
Powered by phpBB® Forum Software