Import Existing C++ Source Code into Visual Studio

后端 未结 7 556
傲寒
傲寒 2020-12-25 13:53

I am trying to import an existing c++ application\'s source into visual studio to take advantage of some specific MS tools. However, after searching online and playing with

7条回答
  •  被撕碎了的回忆
    2020-12-25 14:37

    Create a new empty solution and add your source code to it.

    For example,

    File>New>Project... Visual C++>Win32>Win32 Console Application Application Settings> - Uncheck "Precompiled Header" - Check "Empty Project"

    Project is then created. To add existing code:

    Project>Add Existing Item...> - Select file(s) to add

    Recompile, done!

提交回复
热议问题