How to Compile in windows?

hey everybody,
I just started with C++, but i don't get lessons in it, i try to do a self study.
I made a small C++ thing, dunno if it's good or if it works, but i wander,
How do you compile it in windows and what do you do nextt??

I made it in Notepad...

Anyway's can someone help me?

Regards,
Thorgil
You should get a compiler (eg MinGW).
If you get an IDE, you would have the code you type formatted to be more readable than in notepad.
Try reading http://www.cplusplus.com/forum/beginner/8983/

This is the difference between sourcecode in notepad:

#include <iostream>
int main()
{
cout << "hello world";
return 0;
}

and on an IDE:
1
2
3
4
5
6
#include <iostream>
int main()
{
    cout << "hello world";
    return 0;
}


Here is a list of compilers:
http://www.research.att.com/~bs/compilers.html
Last edited on
ok, thnx!!!
Topic archived. No new replies allowed.