Link to home
Start Free TrialLog in
Avatar of bigfish
bigfish

asked on

Learning VC++

I have recently learned "C" and wish to now
teach myself Visual C++. I have picked up the MS press book "Learn Visual C++ Now" and have the "Visual C++ Tutorials" that came when I purchased Std edition VC++. However, the first seems to primarily teach the IDE, rather than
C++, since only 2 chapters are devoted to the language. The latter seems somewhat terse. I don't want to spend a lot of time spinning my wheels, nor getting turned off because I'm using the wrong materials.

I also have Schildt's book "Teach yourself C++" which is generic, rather than specific to Visual C++. I would appreciate some guidance and direction as to
how to proceed: Should I start with generic C++ (Schildt) and then only go to VC++ specific materials, or can I bypass the generic stuff, and go straight to the VC++-specific material? If the latter, any advice on which book I should
start with?

The question is compounded by the fact that if I start with a generic book (Schildt or whatever you recommend), I can't do practice examples unless I learn to use VC++.

Restating my question(s) to make it clearer, should I start with VC++ or generic? If VC++, is "Learn Visual C++ Now" worthwhile? If not, what book should I use instead?
If the answer is "generic", should I use the Schildt book or another? If another, which? I have seen recommendations for "Thinking in C++", "C++ Primer", "Beginning Visual C++" by Horton (I guess not generic). I used "New C Primer Plus" by Waite and liked it a LOT.

Thanks in advance.

PS: If possible, I need an answer ASAP as I need to get started.



Avatar of SAS
SAS

The best way for learning VC++ is to find someone how knows it and has the time to show you the basics.  Most books copy the VC++ on line help. However, two that I use for reference give the information in a logical and staight forward aproach.  These are "The Microsoft Windows 95 Developer's Guide" and Programing Windows 95 with MFC" by Prosise.  If your talking about using the VC++ interface use the tutorial book that came with it.  It sucks if you want to learn MFC but shows how to move thru the interface farly well.
Avatar of bigfish

ASKER

The answer was to a question I didn't ask, i.e., What in your opinion is the best way to learn VC++. Unanswered is 1.) Should I start generic or VC++ specific? 2.) If VC++, is the book I have any good, or should I choose another, and if so, which? 3.) If the answer is I should start generic, which book and how do I do book exercises without first learning VC++, my only compiler.
ASKER CERTIFIED SOLUTION
Avatar of rajesh032097
rajesh032097

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bigfish

ASKER

Reasonable answer, and Rajesh did address the question. Interesting to note that I posted the same question on Usenet/C++, and got the opposite answer - The answer there was first learn C++ (Generic) and then learn VC++, which is a particular environment, and then learn MFC, because if I try to learn them all at once, I could be overwhelmed. They separated laerning Windows and MFC programming from learning C++, whereas Rajesh feels that I can go direct to VC++, without first learning the C++ language. Any follow-up comments, Rajesh?
Hi,
It depends on what you want to achieve. It's true that logically without learning C++, one should not go for VC++. But the fact is that person knowing C would need to know just the new syntax and features added to the "better C" so called by the designer of C++, i.e., Stroustrup. But, to have a real confidence on what you are doing, one has to learn C++ thoroughly. And according to my opinion Bjarne Stroustrup's "The C++ Programming Language" is the best book to begin with, but certainly not sufficient, especially considering continual growth of C++ and additions to it.
But, one's goal is just to be an expert in VC++, he can just understand the new features/syntaxes of C++ and go ahead. In fact the more you code in VC++, your C++ concepts also would get strengthened and learning C++ later might become much simpler after being familiar with it through C++. I have a friend with me who had to start with VC++ 4.2 directly even without being aware of many C++ features but still in the development process he didn't face any problems. But, honestly let me admit that unless one understands C++, he won't feel that confident in VC++, and also more you understand C++, you will enjoy using C++ tools such as VC++.
I hope you get my point.
Good luck.
Avatar of bigfish

ASKER

Thanks for your comments Rajesh. I've decided to start with "generic" C++ and learn the syntax and structure and then move on to VC++. I will, however, have to learn a little VC++ just to be able to use the compiler to do the problems in the book.
No one seemed to have anything to say about the "Learn Visual C++ Now" book, so I will trade it in for another. I find the Schildt book difficult to follow, compared to, for example, "C Primer Plus", so I may choose another - either Lipmann's C++ Primer or the Waite Group's "C++ Primer Plus", since I liked their C book. I will also check out Ivor Horton's book, which supposedly combines C++ with Visual C++.
Your comments on MFC vs. the API were particularly helpful. My goal is proficiency in VC++, because I would rather be in windows than Unix :>).

Thanks for your help.

Sam