Microsoft Visual C++, compiling small source codes without project file

后端 未结 3 1723
死守一世寂寞
死守一世寂寞 2020-12-17 20:12

Well, I\'ve been using Dev-C++ for a while for learning the language [c++], and some stuff wouldn\'t work properly, like global and local variables. Then I decided to downlo

3条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-17 20:29

    For simple program, you can easily compile from command line,

    Star menu->Visual Studio->Visual Studio Tools->Command Line

    cd c:\..\your program path
    cl.exe test.cpp
    

提交回复
热议问题