im not sure if this should be under C++ but its not really C++


i have Visual C++ Express

If i wrote some code a txt file and saved it as test.cpp for example

how could i compile it though the console?