You are not logged in.
Pages: 1
Hello,
does somebody know a good guide or book to learn programming in C under linux? I never programmed in my life so it shoul start from zero.
Thanks in advance
Offline
Offline
K & H - The C Programming Language
Eh? you mean K & R?
Offline
My favorite learning material for C is the comp.lang.c Frequently Asked Questions web site, but it might be better to read when you are an intermediate C programmer.
C is the same on every operating system. Is there something specific you want to learn about using C "under Linux"? Do you want to learn how to use a special library or API?
Offline
Search the forum. Here's a link that could be useful
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Here's a link to my old C programming class "useful links" page.
lots of good stuff here for C on linux http://www.cs.montana.edu/courses/201/WebRefs.htm
Hofstadter's Law:
It always takes longer than you expect, even when you take into account Hofstadter's Law.
Offline
jelly wrote:K & H - The C Programming Language
Eh? you mean K & R?
I think he meant H & K, although I can't be sure because I haven't yet figured out why he thought that would help roeleman learn C.
Offline
K & H - The C Programming Language
Its actually not a very good educational book in my opinion, but does cover (very vaguely) everything..
I have a 'C Primer Plus' back in the days when I went to school and its pretty decent. Once you get the basics down 'Advanced Linux Programming' from New Riders is an excellent read.
Offline
jelly wrote:K & H - The C Programming Language
Its actually not a very good educational book in my opinion, but does cover (very vaguely) everything..
It's more like a crash course in C for systems programmers than an introduction to programming in C, as evidenced by the fact that formatted output, variables, arithmetic, comments, block structure, for and while loops, character input and output, operator precedence, if/else branches, arrays, functions, function prototypes, argument passing models, C strings, variable scope, and brief discussions of advanced topics like linkage, pointer values, and program structure all appear in the first chapter. I wouldn't recommend it to a new programmer. (I wouldn't recommend C to a new programmer.) But K&R is pretty definitive for C, similarly to how the Camel is definitive for Perl.
Offline
T-Dawg wrote:jelly wrote:K & H - The C Programming Language
Its actually not a very good educational book in my opinion, but does cover (very vaguely) everything..
It's more like a crash course in C for systems programmers than an introduction to programming in C, as evidenced by the fact that formatted output, variables, arithmetic, comments, block structure, for and while loops, character input and output, operator precedence, if/else branches, arrays, functions, function prototypes, argument passing models, C strings, variable scope, and brief discussions of advanced topics like linkage, pointer values, and program structure all appear in the first chapter. I wouldn't recommend it to a new programmer. (I wouldn't recommend C to a new programmer.) But K&R is pretty definitive for C, similarly to how the Camel is definitive for Perl.
IMO K&R is a great book. It was my introduction to C (as a beginner) and it never gave me any trouble. In fact I think it's the finest piece of technical writing I've ever read. I still use the reference in the back. Other than K&R I don't think it's worth getting any books on the subject, as there are so many tutorials and resources on the internet. Wikipedia is great for all the paradigms and data structures and stuff. Good luck roeleman!
Offline
Try the CarlH subreddit: http://www.reddit.com/r/carlhprogramming/
Offline
Offline
Pages: 1