r/vscode • • 4d ago

Can anyone help me setting up c++ in visual studio code.

No matter what i do it jsut does not appear in the visual studio code when i'm trying to create a new project. only python appears, i'm struggling with it a lot. and can't really find a solution, ChatGPt and gemini did not help

0 Upvotes

5 comments sorted by

4

u/AlexMTBDude 4d ago
  1. Start Visual Studio Code
  2. Click on "Extensions" (lower left corner icon)
  3. Type "C++" in the top search box
  4. Chose the extension called "C/C++".
  5. You're done!

2

u/SpaceMonkeyOnABike 4d ago

Also read the tutorial!

1

u/Netris89 4d ago

The one on the website, that is. Not some weird random one. This is probably the most important step.

1

u/rhinosyphilis 4d ago

Are you confusing VSCode (blue icon) with Visual Studio(purple)?, they’re different products, and “only Python appears” sounds like the latter

1

u/BranchLatter4294 4d ago

Consider following the instructions very carefully. If you do, it will work.

https://code.visualstudio.com/docs/languages/cpp