Sublime Forum

How to compile .cpp files in sublime text 2?

#1

I have downloaded dev-cpp and it includes g++.exe for compiling in the folder mingw32 , and I just dont know how to create a build file ( I dont understand the instruction in the sublime text2 FAQ) that can compile my .cpp file using g++.exe and print the errors and indicate them in the corresponding lines .
Plus, I want to ask can I compile my .cpp by using the command in fedora just like -o , -c , time ./ … and typing in the sublime text 2 console?
Can anybody write a build file for me?

0 Likes