i downloaded a tutorial to learn C++
it says i need to compile. but with no further explanation only something about cmd but it gives me errors.
i downloaded visual studio 8 (you can compile with it, right?)
but it is a little abracadabra for me so can anyone explain to me how to compile?
it doesn't matter if you can compile with a other program or this one i just need to learn this.
ehm wich visual studio do you have Basic 2008 is for VB and C++ 2008 is for C++
but i rather use the VC++ 6.0 thats less annoying then 2008 altough u only make good dx8.1 hack on 6.0 while on VC++ 2008 you can make dx9.0 hacks
i got microsoft visual studio 2008
so i think i got the C++ version (i can be wrong with this)
but i still dont know how to compile
Originally Posted by lalakijilp
i got microsoft visual studio 2008
so i think i got the C++ version (i can be wrong with this)
but i still dont know how to compile
Visual Studios is made to compile C, C++, and C# code. Visual Basic usually comes with Visual Studios too, but you can get it by itself.
OK about this thing your trying to compile:
Firstly: Visual Studios is a compiler
Secondly: if your trying to learn C++. I'd recommend getting a book.
Thirdly: compiling is when you take written code and turn it into a working program. The compiler interprets what you wrote and then turns it into actual machine code that your computer can run. You will not have to compile anything until you know how to code.
BTW: I also recommend Bloodshed Dev-C++ as your compiler as its much more nub friendly.
To compile in Microsoft Visual Studio 2008, go to the top, click on build menu. Then click on build solution(first in the list).
It is so much easier to use. Learning to program is hard enough without have to deal with window's complex IDE >_>. Trust me this compiler is really easy to use. Your press one button and you get a blank page, press another and you can compile and run your code. Its that easy. I do all my coding in it, and I've been learning C++ for nearly a month now.
i downloaded Dev-C++ 4.9.9.2
i loaded Hello world.CPP wich i made in notepad
i pressed the compile button.
but it started to give errors
those were the errors
1 C:\Dev-Cpp\include\c++\3.4.2\backward\iostream.h:31, from
In file included from C:/Dev-Cpp/include/c++/3.4.2/backward/iostream.h:31,
what to do with it?
maybe i can get the same version as you so you can explain it better. (if you want to)