Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 Microsoft Visual Studio C++ 2010 中生成我的项目的“.cpp”文件的“.o”输出。
我已经找到了答案,说要在没有链接的情况下进行编译,您只需按 Ctrl+F7,但是该目标文件是在哪里创建的?
Visual Studio 会创建 *.obj 文件,无论是否链接它们,这些文件都会被创建。默认目录是“Debug”和/或“Release”,但这取决于项目设置。