tags:

views:

172

answers:

3

Possible Duplicate:
Java to c++ guides

Hi,

I am a Java programmer, but recently the need came up for me to learn C++ fast. I am thinking in about a week, obviously also with normal daily obligations (meaning I can't spend 8 hrs in front of a computer every day).

I realize that this is quite a short time span, and I am certainly not looking to master the language. I just need some basic C++ knowledge to be able to write working code, understand documentation, etc as part of a project. I am a CS student, so I don't really need the "if-else statements control program flow by..." kind of tutorial.

What do you guys recommend? I am debating between just working through a straight up C++ book or one of those "Java to C++" type tutorials.

+1  A: 

The C++ Language Tutorial is a good reference, but don't overlook The Definitive C++ Book Guide and List.

trashgod
A: 

there is a nice c++ for java programmers tutorial from Barbara Staudt Lerner and Mark Allen Weiss has written a book about it (but i havent read it, and i'm not sure if it helps you to learn it in a week - may depend on your reading speed)

http://www.openframeworks.cc/ has some c++ tutorials in their wiki that shows how to use it for programmers of various other backgrounds - maybe that helps too

Nikolaus Gradwohl
+2  A: 

You should do 3 things, IMO:

  1. Google "C++ for Java programmers" and read a few of the many tutorials. Maybe one of these will be enough for your project. Likely you'll need more, so proceed to step 2.

  2. Search Amazon and compare the best site above with the thinnest 5-star book that you can find. E.g. "C++ for Java Programmers" looks good. The author has a website where the latest errata is dated 2/01/10. Regardless, proceed to step 3. ; - )

  3. Consider educating yourself on just how wonderful and yet terrible C++ truly is. Some of the best C++ books, with many good rules of thumb (e.g. throw by value, catch by exception), were written by Scott Meyers. Every novice and expert should have "Effective C++: 55 Specific Ways to Improve Your Programs and Designs" on their bookshelf. (Or alternatively the CD compilation installed.)

Nick Westgate