where to type in the codes/programming?


I'm totally new to this, and want to learn how to use the c++ programming.

i have read the first pages under http://www.cplusplus.com/doc/tutorial/

So my question is, Where do i type in the codes? do i need a program or open a cmd promt or something? to try the examples shown in the tutorial.

Thank you in advance
you need an ide (integrated development environment):


you can download Code::Blocks to begin with:


they come with an editor where you can type your code, compile, and debug
You'll need to type them into a file, using whichever editor you're most comfortable with. By convention, a file containing source C++ code should have a filename extension of ".cpp" or ".cxx", while header files to be included should have a filename extension of ".h".

You'll then need a C++ compiler program to turn your code into an executable that can be run.
You don't need an IDE. All you need is a text editor and a compiler, which is what I recommend. If you know how to compile and link from a command line, then you won't be so lost when your IDE spits out errors at you.
I've been using http://www.bloodshed.net/
You should change -_-
Please don't use that. It's bad.
Notice that is abandoned, not updated since 2005. Use this instead: http://orwelldevcpp.blogspot.co.uk/
I'm always curious how so many new-comers end up with bloodshed, with it's longstanding bad name now.
It comes up as the second hit if I search google for "c++ compiler" :(
Ah yup it's the first hit for me :/
Topic archived. No new replies allowed.