c++

i am trying to learn the language c++ but am not sure which software to use to make the programs. im not even too sure as to what file extention they should be saved as, i presume .exe if it is exacuteable program but am not positive.
 
You should get a book and start from the beginning.
You won't figure out everything by yourself.
To write C++ programs you need a compiler.
You will find everything provided with the book you buy.
 
i have found several tutorials via google and one in particular look extremly detailed. it shows the text of the program, what the program looks like, and then how each line affects the program. where can i get a free compiler from?
 
thank you very much, i saw from another thread that you are fairly good at c++, if i gave you the link to the tutorial would you be able to have a quick scan through and tell me whether it is ok or not?
 
Yes this is a very good tutorial, only if you have the patience to read it carefully and make notes. and apply every thing.
in this index
http://www.cplusplus.com/doc/tutorial/
If you can advance till "Object Oriented Programming:" then you have learned a very good part.
Just as soon as you get the sense of programming everything else would be much easier than it looks to you right now.
Try to focus on the first lessons they are very important.
 
thank you very much again, one more question though. i made the program just as it said i should on the tutorial with the code;

// my first program in c++

#include <iostream>
using namespace std;

int main ()
{
cout << "hello world!";
return 0;
}

and compile it then run but it opens a dos box but closes it almost instantly. do you know why this might be?
 
No problem.
And I'm not a genius, this is a very simple thing I told you.
You will realize that as soon as you pass the 1st level of this tutorial :o
 
i made programs!!!!

thanks very much for your help, no matter how simple that may have been, when i can write real programs it was you who helped me
 
thanks, i added you to msn.

what would the coding look like for something that said "press any key to continue" then when they did another message appeared?
 
That was you? sorry I didn't know I blocked you... try adding me again.
and I'll help you with whatever you want as far as I'm online.
 
Back
Top