Solved

Wanting to learn C++

Posted on 2012-03-10
5
479 Views
Last Modified: 2012-03-10
I have been programming in VB & VBA for years, but now fancy a new challange.  I've always wanted to learn C++, because of the possibilites it gives to a developer.  My ultimate objective will be to create cross-platform database applications, but I fully appreciate that it will take a good few years to get to the level required.

I could really do with a few pointers as to the right IDE and good books.  I have used Visual Studio - and was thinking that this would be a good, familiar starting point, but I want to give myself as many options as possible for the future, so this may not be the best idea.

I know this is a very vague question - but I always get good advice from the EE members, so it felt like a good place to start.

Thanks in advance.
0
Comment
Question by:Andy Brown
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Accepted Solution

by:
evilrix earned 500 total points
ID: 37705005
If you're developing on Windows I'd stick with Visual Studio. Since you already know it as an IDE there's little point in making your life harder for no good reason. As IDEs go it's actually one of the better ones and its in-built debugger is second to none (IMHO).

As for books; assuming you are a complete novice I would start with C++ for Dummies 1 & 2 (I kid you not, they two books are a great way to learn the basics). You could then move onto more advanced stuff and I'd whole heartedly recommend you read Effective C++ and More Effective C++ by Scott Meyer. After those, Effective STL (also by Meyer) would be good choice. Those books alone should give you a reasonable grounding in the basics of C++.

Also, note: regardless of what you are told do not learn C before you learn C++. Whilst for the most part C++ is a superset of C the principles and idioms of writing Object Oriented code are very very different from the Prodecural code you write in C. Also, a lot of stuff you might do in C are consider seriously bad/poor practice or just plain deprecated/unnecessary in C++ (for example, using malloc and free are nearly always wrong and printf and sprintf are replaced by [far safer and more flexible] streams).

Hope this helps.
0
 

Author Comment

by:Andy Brown
ID: 37705040
That's a real help - thank you.   I'll leave the question open for a little while longer and then allocate the points.
0
 

Author Comment

by:Andy Brown
ID: 37705049
PS - Initially my apps will be PC based, but I would (eventually), like to create Mac based apps (or even other platforms).  Do you still think I'd be better of learning the basics using VS (and then moving over to the Mac equivalent)?
0
 

Author Closing Comment

by:Andy Brown
ID: 37705132
Thanks guys - really appreciate your help on this.
0
 
LVL 40

Expert Comment

by:evilrix
ID: 37705165
>> Do you still think I'd be better of learning the basics using VS
I do, because it will allow you to focus on learning C++ and not learning a new IDE. That all said, I use vim for all my editing but it's certainly not something I'd recommend unless you have already got a reasonable amount of experience using it :)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question