Too many one line function calls1027 (3/3/2005 10:14:19 PM) comp.lang.c Ppl , Want to have ur opinions on having function calls like the one stated below: function funcA ( struct A *st_A , struct B *st_B ) { st_A->a = st_B->a } Basically Is it a nice programming practic... nitin.kp(8)
Can we have inline functions in c?1539 (3/4/2005 3:27:25 AM) comp.lang.c Hi, Can we have inline function in C or this feature is from C++. What does ANSI say about the use of inline functions? Do gcc support it as a feature of C or C++? Thanks! Prafull Soni ... sprafull(2)
Plauger's book on Standard Library = still valid?255 (3/5/2005 11:21:45 PM) comp.lang.c Hi, I'm finding myself reinventing the wheel too much in my code (because I don't know all the functions available in the Standard library) and would like to purchase a reference like Plauger's book. Are ther... LookSkywalker(71)
[25% OT] C library integral part of OS/kernel???4930 (3/6/2005 9:09:00 PM) comp.lang.c Is the C library of most OSes (i.e, unix type OSes) implemented at the very low kernel or just outside kernel level? Looking through the source tree of Linux/BSDs it seems like the C library is intertwined wit... wwromeo(17)
Correct behaviour of scanf and sscanf636 (3/14/2005 6:44:13 PM) comp.lang.c Given the code:- r = sscanf (s, "%lf", x); What is the correct output if the string s is simply "-" ? If "-" is considered the beginning of a number, that has been cut-short then the correct output is that r... robert.thorpe(1138)
Does a C89 compliant compiler exist?930 (3/15/2005 12:55:57 PM) comp.lang.c In my previous post I mentioned I'm trying to test the portability of my C programming (and one big difference I found is the inclusion of header files matters). Does a fully C89 compliant C compiler exist? T... j_dot_curl2(43)
set and reset the least significant bit of a address5730 (3/15/2005 8:35:03 PM) comp.lang.c I want to set and reset the least significant bit of a address (where a pointers points to). I tried this, but it is not correct: #define BIT 0x1 void foo(){ void *p; *p = *p & ~BIT } ... onsbomma(23)
Do input functions use fgetc inside them or read()626 (3/16/2005 1:42:00 AM) comp.lang.c Do the "larger" input functions like scanf, gets, fgets use fgetc to take input or an operating system call function like read() (I know it could be any "way", but I'm trying to find out how it's best to "think... kobu.selva(53)
gcc tutorial?1739 (3/28/2005 12:18:33 PM) comp.lang.c I have used google and searched for gcc tutorial but have not found anything usefull yet. Does somebody know a good link to a gcc tutorial? JS ... asd126(57)