Fog Creek Software
Discussion Board




Learning C++

My first visit here - sorry if this is an old question.  I'm a Delphi type and need to cram VC++.net.  Any resource recommendations?  Thanks in advance.

Joe Bass
Monday, November 18, 2002

An unspecifc link for an unspecific question =)
http://www.cuj.com/link/index1.htm?topic=link

Sebastian Wagner
Monday, November 18, 2002

I'm trying to teach myself right now. I've bought a few books, but Krugelinski's (Programming with Visual C++, 5th Edition) has been the best for me at the moment. There is a sixth edition ( http://www.amazon.com/exec/obidos/ASIN/0735615497/qid=1037658360/sr=2-1/ref=sr_2_1/002-9181753-6304819 ) available. Other's are C++, The Complete Reference by Herb Schildt ( http://www.amazon.com/exec/obidos/tg/detail/-/0078824761/qid=1037658655/sr=1-5/ref=sr_1_5/002-9181753-6304819?v=glance&s=books ) - not widely recommended on the mailing lists, and Practical C++ ( http://www.amazon.com/exec/obidos/tg/detail/-/0789721422/qid=1037658736/sr=1-5/ref=sr_1_5/002-9181753-6304819?v=glance&s=books ). Those books are handy for learning C++ at some sort of "standard" level, but if you're going to program in windows then I recommend the first book and Jeff Prosise's Programming Windows with MFC ( http://www.amazon.com/exec/obidos/ASIN/1572316950/qid=1037658810/sr=2-1/ref=sr_2_1/002-9181753-6304819 ) which I have yet to buy. Two other staples (though not actually aimed at VC++, more windows - but every little bit helps) are Programming Applications for Windows ( http://www.amazon.com/exec/obidos/tg/detail/-/1572319968/qid=1037658946/sr=1-2/ref=sr_1_2/002-9181753-6304819?v=glance&s=books ) and Programming Windows ( http://www.amazon.com/exec/obidos/ASIN/157231995X/qid=1037659005/sr=2-1/ref=sr_2_1/002-9181753-6304819 ).

I haven't explicitly set out to learn C++ with the .NET managed extensions, as if I need to use the .NET framework I'll stick with C#. It has been interesting learning to use the MFC as well as brushing up on my "Dummies Guide to C++" level of C++ knowledge.

A couple of good websites I've used are:

CodeGuru - http://www.codeguru.com/
CodeProject - http://www.codeproject.com/

It's hard to say how far I've come, but I'm still very much a learner. I'm yet to write anything usefull with these newly acquired skills, but I have a great project in mind which I hope to start as soon as I finish the project I'm on... :)

Geoff Bennett
Monday, November 18, 2002

I check this site first when I am trying to remember one of C++'s neurotic quirks: http://www.parashift.com/c++-faq-lite/index.html

Matt Sponer
Monday, November 18, 2002

Get some basic C++ down before you start using the MFC or the .NET Framework.

Moo, Koenig: Accelerated C++: Practical Programming by Example

cannot be recommended often enough for that.

Have fun,

Jutta Jordans
Tuesday, November 19, 2002

I'd recommend two online books that are available as dead trees.

Bartosz Milewski's C++ in Action:
http://www.relisoft.com/book/

Bartosz takes a top down approach to C++ programming, which is unusual but I find especially appealling for the programmer experienced in other languages.  He primarily teaches his only distinct approach to C++ programming.


Bruce Eckel's Thinking in C++
http://www.mindview.net/

Eckel's book is very much a brain dump, exploring the different aspects of the language at great depth.  It makes a good 'bottom up' complement to C++ in Action. 

Ged Byrne
Tuesday, November 19, 2002

Thanks All!!

Joe Bass
Tuesday, November 19, 2002

Teach a man to fish....

http://www.accu.org/bookreviews/public/reviews/0hr/beginner_s_c__.htm

Highly recommended beginners c++ books, courtesy of the Association of C and C++ Users.

I rarely even consider any books until they appear on this list (or more likely the same list for one of the other categories).

Danil
Tuesday, November 19, 2002

I wish to migrate from MFC to VC++.net. Howerver as yet I have not founf a suitable book. I have purchased Visual C++.net, V6. This covers more MFC than .NET. Very dissapointed since the V5 of this book was excellent to learn MFC.

If any one can suggest a book I would be well pleased. I want to know thing like now can I subclass a control as I would in MFC, say to linit the characters accepted in a TextBox, How to fire of WM_USER messages etc.  Help!

Mike

Mike Yates
Sunday, February 08, 2004

*  Recent Topics

*  Fog Creek Home