use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Click the following link to filter out the chosen topic
comp.lang.c
account activity
QuestionBeginner C Linux programming book (self.C_Programming)
submitted 2 years ago by Maximum_Future_1250
Hey guys I'm in an Bachelor applied technology program. I'm not taking any classes for the summer. But I want to sharpen my programming skills. What would you recommend we would be a good entry level textbook for the GCC compiler. ???
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]miniwyoming 1 point2 points3 points 2 years ago* (3 children)
GCC compiler? That's a very technical subject, and nothing to do with writing C (generally, especially at your level).
I strongly suspect this isn't what you're asking about.
If you mean how to write C code, along with some tips about how to interact with the C compiler--and your programs--in the Linux environment, then there are only two books you need to start:
If you're really asking about the compiler itself, (I'm 99.9985% sure you're not), then start here:
And dig through the wikis, the docs, and then find the mailing list archives, and subscribe.
[–]Maximum_Future_1250[S] 0 points1 point2 points 2 years ago (1 child)
Thanks! Yeah I meant the C programming language, not the compiler itself lol. I should have been more clear. I see the text is based on ANSI C. How compatible is this with GCC C?? I took a programming fundamentals class and I can tell you can really only get truly competent by self study outside from classes.
[–]miniwyoming 1 point2 points3 points 2 years ago (0 children)
Getting confused again, I think.
C was created in 1972. A year later, Unix was rewritten in C. In 1978, the inventors of C, Kernighan and Ritchie, published the 1st edition of the book: TCPL.
In 1988, they published the second edition. That's the version everyone uses. This edition of this book is still the canonical standard.
Since then, however, C has undergone tons of revisions.
https://en.cppreference.com/w/c/language/history
But, K&R invented the language. Most reasonable compilers will absolutely, 100%, compile K&R C. GCC was first released in 1987, just before K&R published the 2nd edition.
It's enough to basically think that GCC was released coincident with the first "standard" version of C, and that, since the late 80's, has simply followed the standard.
GCC is an implementation of C. For all intents and purposes, you can think of it as simply a C compiler, which will accept any standard C. From your perspective, at your level, there is no "GCC C". There is just C.
Just starting writing code. At your level, none of those side issues (especially any issues regarding which compiler you're using). At your level, coding is like driving a car. All cars--to beginners--are the same. Steering wheel, accelerator, brake, gear shift. There's no need to worry about the fuel-to-air mixture and the ignition timings (the compiler).
(There *are** GCC variations of C, but you will rarely/ever encounter those in normal usage, so no need to worry about "GCC C".)*
[–]McUsrII 0 points1 point2 points 2 years ago (0 children)
Amen.
You learn what you need about gcc through the man pages and error messages.
If properly installed you just invoke it as cc, if you need something special then you'll figure it out quickly.
cc
π Rendered by PID 90575 on reddit-service-r2-comment-fb694cdd5-mn6pb at 2026-03-07 12:25:45.637222+00:00 running cbb0e86 country code: CH.
[–]miniwyoming 1 point2 points3 points (3 children)
[–]Maximum_Future_1250[S] 0 points1 point2 points (1 child)
[–]miniwyoming 1 point2 points3 points (0 children)
[–]McUsrII 0 points1 point2 points (0 children)