LinuxAnswers - the LQ Linux tutorial section.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 01-29-2012, 11:14 PM   #1
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 112

Rep: Reputation: Disabled
For a beginner learning C- is it OK to use old text books?

I want to begin learning C. I realize there are lots of resources online as well as books available to learn C. My question is- would it create problems for me to use older textbooks? I have several older C programming books from the early nineties, they teach ANSI compliant C. Have the rules or style changed enough that these old books should not be used?

I sometimes find that older books seem better written- in some cases they have better or more varied and detailed examples. But I don't want to confuse myself with obsolete code examples or style. Would code written 20 years ago be _wrong_ or unacceptable? Or would the diffferences only be minor stylistic differences that won't matter in learning the basics?

I'm not suggesting that I won't _also_ use modern sources. I'm just asking if I should avoid using older books.

Old 01-29-2012, 11:34 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
I don't see any problem .. just keep in mind that they may not mention security issues like using 'gets' etc ... Also, modern textbooks may have examples that are more applicable to your reasons for learning c.
Old 01-30-2012, 12:19 AM   #3
Senior Member
Registered: Oct 2011
Location: Budapest
Distribution: Debian/GNU/Linux, AIX
Posts: 2,648

Rep: Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755Reputation: 755
If it covers features like prototype, void and const, then it should be okay.
Old 02-01-2012, 12:25 PM   #4
Registered: Jul 2011
Location: Harrisburg, PA
Posts: 112

Original Poster
Rep: Reputation: Disabled
Thank you for your replies. I have marked this "solved", as it appears no one else intends to comment.


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
[SOLVED] Learning Python beginner Help toli Programming 9 01-31-2012 09:49 AM
Any recommended books for a beginner in Linux? linuz_man Linux - Newbie 13 06-16-2010 12:28 PM
Openna 1.0 beginner books BabaKali Linux - Newbie 0 11-09-2004 10:30 AM
good linux books for beginner blackzone Linux - General 2 08-05-2004 08:13 AM
Beginner C++ Books defubar Programming 8 02-16-2004 11:31 AM

All times are GMT -5. The time now is 09:46 AM.

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