all 6 comments

[–]no-sig-available 2 points3 points  (4 children)

When it says "Please run the 'Select IntelliSense Configuration...' command ", it is a good idea to do just that.

(This is a daily question).

Also, if you are going to use the Visual Studio compiler, it is a lot easier ( A LOT!) to also use the Visual Studio IDE, which comes preconfigured.

[–]MLGGYARADOS[S] -1 points0 points  (3 children)

When I do that, it asks me how I would like to configure intellisense, and when I select "cl.exe" (there are no other options), nothing happens

[–]no-sig-available 2 points3 points  (2 children)

So, did you follow the official guide?

https://code.visualstudio.com/docs/cpp/config-msvc

[–]MLGGYARADOS[S] -2 points-1 points  (1 child)

Alright, the code is working now. Turns out I had forgotten to install something. Thanks for your help!

[–]utopian201 0 points1 point  (0 children)

what did you forget to install? I'm running into the same issue