Where to write C++?

Suspended
Joined
1 May 2008
Posts
1,166
Location
Sunny Llandudno
I got my book today "Accelerated C++"

Doesn't tell me where to write the codes, or how to open my programmes etc.

Can anyone help me, im a total novice in this area of study.

Thanks
Ben
 
In a nutshell you're going to need a C++ compiler and a code editor of some sort.

You'll get away with something like Notepad for your editor partnered with the GNU C++ Compiler. You'll write your code with Notepad and run the resulting files through the compiler to generate an executable.

An Integrated Development Environment (IDE) might be an idea to get you up and running quickly. This will offer a more advanced editor and prehaps include a compiler, while insulating you from lot of the underlying process of compiling code (stuff which is useful to know). If you're using Windows then you could try the free Visual C++ 2008 Express Edition that will provide everything you need to get started.

EDIT: well and truly beaten.
 
If you're on windows the Visual c++ express is awesome, if you're on linux then g++ with eclipse and cdt are acceptable (g++ is kit, I'm really not fond of eclipse though).
 
Good choice on the book :)

You really need to get another book. Java is taught in pretty much every computer science course because it is a robust object orientated language with very similar syntax to C++. Unlike with C++ however, with Java you are not interacting with the Operating System directly (these interactions are abstracted by the Java VM) so there is one less thing to get your head around. The syntax is also a lot more 'strict' which enforces a good style and makes debugging more straight forward.
 
Back
Top Bottom