提问人:Vasisht Nirmal 提问时间:10/31/2023 最后编辑:Vasisht Nirmal 更新时间:10/31/2023 访问量:31
我无法在vs代码上使用bits/stdc++.h头文件的内容
I can't use the contents of the bits/stdc++.h header file on vs code
问:
#include <bits/stdc++.h>
using namespace std;
int main() {
cout << "working..";
}
标识符“cout”未定义。 尝试使用 cout 时收到上述错误消息。
我可以使用 gcc 编译上述程序,但不能使用 msvc。
我已从 mingw 复制了 bits 文件夹并将其粘贴到 visual studio code 中的 include 文件夹中。
我还尝试将 C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/include 粘贴到 c_cpp_properties.json 文件的 includePath 中。
答: 暂无答案
下一个:我们如何传递包含路径?
评论