In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces vscode how to solve C++ can not find the header file, has a certain reference value, friends in need can refer to. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
You can solve this problem by modifying the configuration file as follows:
Create a new c_cpp_properties.json file under the .vscode folder
Paste the following code in, where you want to change the includePath option to the lib/gcc/x86_64-w64-mingw32/8.1.0/include folder path under the installation path of your mingw compiler
{"configurations": [{"name": "Win32", "includePath": ["C:/Program Files/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include"], "defines": ["_ DEBUG", "UNICODE" "_ UNICODE"], "intelliSenseMode": "gcc-x64"}], "version": 4}
For header files in non-standard libraries, the path can also be appended to includePath by list appending.
"includePath": ["C:/Program Files/mingw64/lib/gcc/x86_64-w64-mingw32/8.1.0/include", "path2", "path3",...], thank you for reading this article carefully. I hope the editor can share vscode how to solve the problem that C++ can not find the header document. At the same time, I also hope you can support us, pay attention to the industry information channel, and find out if you have any problems. Detailed solutions are waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.