Straight C, ANSI C, UNIX C, ect
-
I'm looking for a few good web sites or books to teach me Straight C. Also I'm looking for a C compiler. I know VC++ can compile C with the /Za option, and Dev-C++ can too, but they all see to be missing headers like and functions like getwd in . Thank you in advance.
-
I'm looking for a few good web sites or books to teach me Straight C. Also I'm looking for a C compiler. I know VC++ can compile C with the /Za option, and Dev-C++ can too, but they all see to be missing headers like and functions like getwd in . Thank you in advance.
What do you mean by "Straight C?" Perhaps this book or this Web site would be helpful. KingKruncher wrote: ...but they all see to be missing headers like <sys/sockets.h> and functions like getwd... ANSI C knows nothing of sockets or file I/O.
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
-
I'm looking for a few good web sites or books to teach me Straight C. Also I'm looking for a C compiler. I know VC++ can compile C with the /Za option, and Dev-C++ can too, but they all see to be missing headers like and functions like getwd in . Thank you in advance.
sys/socket.h
andunistd.h
aren't part of "straight" ANSI C. They are defined in the Single UNIX Specification standard. If you want to learn to write UNIX C code then install Linux, *BSD or Solaris (or Cygwin).