1. Just download the latest mingw-get-setup.exe
2. Double click and a popup GUI will show up
3. Select base MinGW and g++ compiler (for me)
4. Add C:\MinGW\bin to the user's path (no admin on Win7)
5. create a helloworld.cpp on c:\MinGW\sources:
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
6. cd C:\MinGW\sources
g++ helloworld.cpp -o helloworld.exe
7. Download Eclipse CDT and enjoy the C/C++ development
The best part is that you can put everthing into C:\MinGW, it's very clean.
No comments:
Post a Comment