So i’ve scoured the forums to no avail.
My PATH is set to the bin folder in MinGW, my c++ build system in ST2 is as follows:
{
"cmd" : "g++", "$file_name", "-o", "${file_base_name}.exe", "&&", "${file_base_name}.exe"],
"selector" : "source.c",
"shell":true,
"working_dir" : "$file_path"
}
I want to compile the most basic of cpp files:
[code]#include
using namespace std;
int main(void)
{
cout << “Hello World” << endl;
return 0;
}[/code]
I’m using Windows 7 64 bit with the ST2 (non-beta) 64bit.
How do I use a build system to compile and then run this Hello World program.