Comments (3)
I tried deleting the .vscode folder and re compiling/running the program. When it asked me for the build version, I changed from gcc.exe to g++.exe. I think that solved my problem!
Here is the output:
\bin\WindowsDebugLauncher.exe' '--stdin=Microsoft-MIEngine-In-1idt0205.joy' '--stdout=Microsoft-MIEngine-Out-cmjd1clq.tz2' '--stderr=Microsoft-MIEngine-Error-2reocxlg.ejw' '--pid=Microsoft-MIEngine-Pid-r2rvxqf2.wiy' '--dbgExe=C:\msys64\ucrt64\bin\gdb.exe'
'--interpreter=mi'
Hello C++ World from VS Code and the C++ extension!
PS C:\Users\Andrew\projects\helloworld>
from vscode-cpptools.
@Absdidhav, transferring your issue to the C++ tools repo for the team to pick it up there.
from vscode-cpptools.
@Absdidhav If you are compiling in C++, please ensure you are using a g++ compiler instead of gcc. It seems like you already fixed your issue so I will close this issue now.
from vscode-cpptools.
Related Issues (20)
- Intellisense fails to find system headers in 1.20.5 (possible cmake integration issue?) HOT 12
- Make hover menu show documentation from source file instead of header file if it's written in the Doxygen format HOT 1
- Intellisense fails to distinguish same name files in different directories HOT 2
- Goto Definition takes a couple of seconds each time to complete the jump HOT 3
- Detection of clang-format version fails in SSH remote session when clang-format is a symlink
- Cannot deduce class template arguments HOT 1
- Display entire definition line when pointing at variable HOT 2
- Feature Request: Suggest [nodiscard] as a C++ Keyword HOT 1
- Search freezes with cpptools enabled HOT 3
- [opensuse] language server crashes HOT 4
- Error: Attempting to use languageClient before initialized HOT 3
- The 'auto' keyword is not colored HOT 1
- Inconsistent naming of command options for "IntelliSense" configurations
- includePath does not support ${fileDirname} HOT 4
- Code analysis fails to get configured for non-open files the 1st time it's run
- When a function is referenced via a macro definition, the referencing function cannot find it HOT 1
- Support additional visualizers directories
- Not All Doxygen Comment Blocks Supported HOT 1
- Intellisense reports 'namespace "std" has no member' on Linux/clang-18/libc++
- clang-format is not executed in default terminal HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vscode-cpptools.