I\'m compiling and linking a C++ program with g++ on Windows (MinGW) The command for compiling looks like this:
g++ -c file.cpp -o file.o
and