Programming newbie trying to learn C

  • Thread starter Thread starter rtmich224
  • Start date Start date
  • Tags Tags
    Programming
AI Thread Summary
The discussion centers on learning C programming for beginners, particularly using Xcode as a compiler. A user seeks recommendations for learning materials, specifically inquiring about the book "Learn C on the Mac: For OS X and iOS" by David Mark and James Bucanek. Participants emphasize the importance of "The C Programming Language" (K&R) as a foundational text, noting its precision and the requirement for careful reading. They recommend pairing K&R with "Software Tools" by Kernighan and Plauger for additional examples. Other suggested resources include "Expert C Programming: Deep C Secrets" for further learning and "C: A Reference Manual" for reference purposes. Additionally, there is a suggestion to consider using CodeBlocks as an alternative IDE, as it is compatible with both Mac and Windows, enhancing versatility in coding environments.
rtmich224
Messages
2
Reaction score
0
I have no background knowledge of any computer language whatsoever. I have been following several online beginner tutorials in C and want to continue learning the language. I am using Xcode as a compiler.
I have ordered "Learn C on the Mac: For OS X and iOS"
David Mark (Author), James Bucanek (Author), and am wondering if this is a good starting point. I plan on taking a class (C++ is offered not C) but that will be several months out.

Is anyone familiar with the book I ordered and can anyone recommend some good books or starting points? Possibly a book to use in conjunction with what I already ordered to make things a little easier? Thanks
 
Technology news on Phys.org
There is only one book about C, K&R.
 
Borek said:
There is only one book about C, K&R.

+1 on that.
 
The only problem with K&R is the prerequisite. You don't need to know anything about computer programming, but you do have to know how to read accurately. It isn't written on the principle that a thousand woolly words are easier to understand than one precise one.

If you want more examples to go with K&R, get "Software tools" by Kernighan and Plauger.
 
AlephZero said:
The only problem with K&R is the prerequisite. You don't need to know anything about computer programming, but you do have to know how to read accurately. It isn't written on the principle that a thousand woolly words are easier to understand than one precise one.

If you want more examples to go with K&R, get "Software tools" by Kernighan and Plauger.

can you elaborate on this in simpler/layman terms? Thank you

Ryan
 
There are three books on C I like: K&R, then Expert C Programming: Deep C Secrets, and finally, C: A Reference Manual.
 
I know that you're asking about the book, but let me point you in the direction of a different compiler / IDE. I've never used XCode, so I can't say anything negative about it.

However, I can say that CodeBlocks is a wonderful compiler/IDE. It is also compatible with Mac. I would suggest using CodeBlocks instead of XCode in case you ever have to do your coding on a Windows computer. Since XCode is only compatible with Mac, it seems to me like getting familiar with CodeBlocks would be in your best interest.
 
jhae2.718 said:
There are three books on C I like: K&R, then Expert C Programming: Deep C Secrets, and finally, C: A Reference Manual.

Expert C Programming: Deep C Secrets is such an excellent book. Highly recommended. I guess you could say it's an excellent second book on C.
 
Grep said:
Expert C Programming: Deep C Secrets is such an excellent book. Highly recommended. I guess you could say it's an excellent second book on C.

In my opinion one should start with K&R, then move on to Expert C Programming: Deep C Secrets, and then use C: A Reference Manual as just that.
 
Back
Top