Whenever I use codeblocls it says iostream file doesn't exist. What should I do ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whenever I use codeblocls it says iostream file doesn't exist. What should I do ?

It displays an error and says iostream file doesn't exist, do I need to download any file separately? Please help

19th Feb 2017, 4:32 PM
sham2222
sham2222 - avatar
3 Answers
+ 5
You MUST include it like so: #include <iostream> Also, I recommend staying away from Codeblocks, and using Visual Studio Code instead. Also, for the love of lunchtime, (what? I am about to eat lunch!) consider using Linux, if you are not already using it. Compile with g++ and you should be fine.
19th Feb 2017, 5:30 PM
Varun Ramani
Varun Ramani - avatar
0
cmd >>> ide g++ -c main.cpp g++ main.o -o main.exe main.exe trust me. way better. here u can use like sublime text or something cool lol
19th Feb 2017, 7:04 PM
Michael Szczepanski
Michael Szczepanski - avatar
0
thank you guys
26th Feb 2017, 6:59 AM
sham2222
sham2222 - avatar