D
D
Dmitry Khvatov2019-09-05 17:14:32
C++ / C#
Dmitry Khvatov, 2019-09-05 17:14:32

iostream vs code error, how to fix?

I'm learning C++ (just started), dictating to the compiler the standard I/O library iostream , but an error occurs that affects compilation.
Here is the code:

#include <iostream>

int main(){
    std::cout<< "hello world" <<std::endl;
}

Error text:
#include error defender .Please update your includePath

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2019-09-06
@Dimarik9

I recommend using the IDE if you are just learning C++. There you, with a high probability, will not get such problems. Still, notepads with plugins are a little different.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question