LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 04-07-2006, 01:13 AM   #1
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Rep: Reputation: 15
What C to study for specific Linux programming?


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!!
 
Old 04-07-2006, 01:50 AM   #2
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
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.
 
Old 04-07-2006, 02:07 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,983
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
http://www.cs.cf.ac.uk/Dave/C/CE.html

Not Linux specific, but close enough :}


Cheers,
Tink
 
Old 04-07-2006, 08:36 AM   #4
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thank you very much guys. I will start with these!
 
Old 04-07-2006, 09:51 AM   #5
95se
Member
 
Registered: Apr 2002
Location: Windsor, ON, CA
Distribution: Ubuntu
Posts: 740

Rep: Reputation: 32
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
 
Old 04-07-2006, 05:27 PM   #6
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
I lost an old bookmark but rummaging around again I found these links if anyone knows of them, or finds them useful.

YoLinux C/C++ Tutorial
Cyberdiem C/C++
 
Old 04-09-2006, 08:01 PM   #7
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
This is a good list of links:http://www.phim.unibe.ch/comp_doc/c_...RIB/intro.html
There's also this v good book on C: http://www.amazon.com/gp/product/020...lance&n=283155
and this book on C on Unix: http://www.oreilly.com/catalog/usingc/ (aka the Lion book)
 
Old 04-17-2006, 11:37 PM   #8
smudge|lala
Member
 
Registered: Jan 2004
Location: Hertford
Distribution: Mint | Sabayon
Posts: 151

Original Poster
Rep: Reputation: 15
Thanks for your input guys. See you in silicon valley!
 
Old 04-18-2006, 11:39 PM   #9
elyk1212
Member
 
Registered: Jan 2005
Location: Chandler, AZ USA
Distribution: Mandrake/Mandriva 10.2
Posts: 186

Rep: Reputation: 30
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!
 
Old 04-19-2006, 01:23 PM   #10
rick.2g
Member
 
Registered: Sep 2005
Posts: 41

Rep: Reputation: 15
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.
 
  


Reply

Tags
c++, languages, programing


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to study linux sake Linux - Newbie 7 11-08-2005 06:29 AM
linux study... os2 General 4 11-04-2005 05:54 PM
Some specific questions about RPM programming zhouxjgester Linux - Software 0 09-21-2005 01:52 PM
Kernel programming - rerouting packets to a specific interface Solemn Phoenix Linux - Networking 2 08-16-2004 12:15 PM
Case Study For Linux OS varunbihani Linux - General 3 11-08-2003 02:51 AM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration