compiling program in windows

In linux the command i have been using to compile and run via g++:
g++ -std=c++11 "%f" -o "%e" &&"./%e"
but im trying to compile the same in a win7 virtual box. What would be the equivalent for windows?
g++ is available for windows as well.

As long as you have g++ installed and it's in your PATH, the same command to compile should work.
Topic archived. No new replies allowed.