r/programminghelp • u/Big_Ease_7693 • Apr 11 '24
C++ Iostream error
Hey guys so my chrome book is running Linux so I downloaded visual studio code and every time I use
include <iostream>
int main() { std::cout << "Hello World!"; return 0; }
I get a error and iostream is in red
What do I do please
2
Upvotes
View all comments
Show parent comment
0
u/Saitovi Apr 11 '24
check if the file extension is correct, if not, try to reinstall Visual studio code, or maybe use a different compiler, maybe reinstall the compiler itself and restart the computer just in case