Programming newbie trying to learn C

  • Thread starter rtmich224
  • Start date
  • #1
rtmich224
2
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
 

Answers and Replies

  • #2
Borek
Mentor
28,998
3,659
There is only one book about C, K&R.
 
  • #3
phinds
Science Advisor
Insights Author
Gold Member
2021 Award
17,804
9,863
There is only one book about C, K&R.

+1 on that.
 
  • #4
AlephZero
Science Advisor
Homework Helper
7,002
297
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.
 
  • #5
rtmich224
2
0
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
 
  • #6
jhae2.718
Gold Member
1,170
20
There are three books on C I like: K&R, then Expert C Programming: Deep C Secrets, and finally, C: A Reference Manual.
 
  • #7
MrTheBard
29
3
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.
 
  • #8
Grep
298
2
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.
 
  • #9
jhae2.718
Gold Member
1,170
20
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.
 

Suggested for: Programming newbie trying to learn C

Replies
397
Views
9K
  • Last Post
Replies
1
Views
878
Replies
15
Views
2K
  • Last Post
Replies
9
Views
1K
  • Last Post
Replies
5
Views
8K
  • Last Post
Replies
6
Views
5K
  • Last Post
Replies
3
Views
2K
  • Last Post
Replies
32
Views
4K
  • Last Post
2
Replies
43
Views
4K
Replies
22
Views
7K
Top