ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
This is a general query about a topic that has tormented me for an age. Every time I sit down with a C or C++ tutorial I find out it's incomplete, out of date or not specifically *nix relevant. I wish to embark on a decent course and get down and dirty with C on *nix. A text editor and the GCC compiler. The idea is good, the spirit is willing but the source is lacking. It all feels so fragmented. Either programming for Linux is just that , or I am looking in all the wrong places for input.
Would some experienced and kind hand please point me in the right direction. Maybe a good book or a specific topic relevant to C/C++ on *nix that I can query in a course. I'm tired of pulling old guides out of webjunk and I'm not quite prepared to ship out to Berkeley! I want to do this the right way. Help!!
John Goerzen's The Linux programming Bible is a good book for beginning Linux programmers. Helped me quite a bit.
It covers basics of Linux programming; some C skills required.
There are quite a few unix programming books, in one of my classes we used, this book (http://www.amazon.com/gp/product/020...ance&n=283155).
Nothing will cover every thing you want, but they will get you started. Pretty soon, though, you'll just be poking around in header files and reading lots of man pages instead anyways
For Linux specific Organized reference (almost as good as Java doc):
type 'info libc' in a shell. If this does not work, install 'info' and the libc manuals. All the functions are referenced in this easy to use, menu driven explanation of standard C functions and they are all categorized!
The kernel uses quite a few GCC specific objects - the gcc homepage has links to the documentation on it. If you're already familiar with C but not gcc, then you'll run across a few oddities that don't occur much anywhere else in the programming world. The preprocessor stuff is probably the most important part to study.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.