LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   For a beginner learning C- is it OK to use old text books? (https://www.linuxquestions.org/questions/programming-9/for-a-beginner-learning-c-is-it-ok-to-use-old-text-books-926406/)

keithostertag 01-29-2012 10:14 PM

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.

Thanks,
Keith

kbp 01-29-2012 10:34 PM

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.

NevemTeve 01-29-2012 11:19 PM

If it covers features like prototype, void and const, then it should be okay.

keithostertag 02-01-2012 11:25 AM

Thank you for your replies. I have marked this "solved", as it appears no one else intends to comment.


All times are GMT -5. The time now is 04:07 PM.