#VSCODE C & C++

6 messages · Page 1 of 1 (latest)

ashen remnant
#

I am a new to vscode and every cpp file I make I get this error, can some on help

marsh rivetBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

ashen remnant
#
using namespace std;
int main()
{
return 0;
}```
unborn owl
#

If you cant compile the code, then its a compiler error.
If you can compile the code and its just visually, then its a intellisense problem

cloud ruin
#

add the bin folder of the compiler that you downloaded to environment vaiables and open vs code again. The error will be fixed

marsh rivetBOT
#

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.