OESF Portables Forum

General Forums => Off Topic forum => Topic started by: Capn_Fish on March 19, 2007, 10:51:43 pm

Title: Good C Tutorials?
Post by: Capn_Fish on March 19, 2007, 10:51:43 pm
I'm learning C++, but I'm thinking that it would be nice to learn C instead/first. Does anybody know of any good tutorials, either web pages or downloadable PDFs?

I'll probably end up picking up a book later, but I'd like to start out without an investment.

Thanks in advance.
Title: Good C Tutorials?
Post by: pelrun on March 19, 2007, 11:47:47 pm
I'd stick to the pure C++ learning; C isn't so much a stop on the road to C++ as it is a detour that gets you lost in the woods somewhere with no petrol or food while the wolves start closing in.  

Once you know the fundamentals of C++ then C isn't hard to read or work with. But C-style thinking is a serious handicap to developing the proper object-oriented design skills C++ requires.
Title: Good C Tutorials?
Post by: xjqian on March 20, 2007, 02:40:48 am
Bruce Eckel's "Thinking in C++" Volume one has an early chapter summarizing C. I think that's all you have to know. Things beyond discussed there is usually dangerous or misleading to use.

http://mindview.net/Books/TICPP/ThinkingInCPP2e.html (http://mindview.net/Books/TICPP/ThinkingInCPP2e.html)

I find Bruce Eckel's books (!free!) easy to follow and useful for later reference. Highly recommended.
Title: Good C Tutorials?
Post by: Capn_Fish on March 20, 2007, 07:44:38 am
Thanks.

I actually got around to talking to some other people, and they said the same thing, so I guess I'll stick with C++ for the moment.

Anyway, thanks for your help, and I'll look at that link.
Title: Good C Tutorials?
Post by: microsoft/linux on March 26, 2007, 10:51:36 pm
Also, Learning C++, put out by oreilly publishing is a good book, but it costs about $40 USD. Also, as a reference, check out www.cprogramming.com, it's sort of high level for a beginner, but good to know about
Title: Good C Tutorials?
Post by: Snappy on March 28, 2007, 08:41:58 am
Most primers on C++ will cover a bit of C. I find the C reference guide in msdn.microsoft.com useful as it is basically ansi c. Just ignore the windows and platform api portions.