I am new to c++ and I am using visual c++ express edition. I am spending quite a lot of my time doing excercises and am using the command line to compile them.
I have now reach the stage where I am seperating the header files and the .cpp files of a class before creating a second .cpp file which includes function main. But the normal command line compiling (i.e. cl /EHsc program.cpp) does not work when interfaces (h) and implementations (.cpp) are seperate.
Does anyone know how to compile a header, .cpp and program using the command line of visual c++ express?