+ 3
Please guide me as to why my programme is not working.
I have downloaded Code::Blocks on my Windows 10PC 64bit. I clicked new file and typed the programme exactly as it is written in the tutorial. The error displayed below is fatal error : iostream: No such file or directory. The sentence written was #include <iostream>. I downloaded it, following the instructions in the tutorial. Someone please let me know where is my mistake and what I have typed wrong. Thank you.
12 Answers
+ 7
Did you download codeblocks with mingw?
+ 7
We cannot help you without more info
+ 6
Good good.
Create new file,
save as file_name.cpp
Copy old file paste inside new file.
Delete the old file.
Done👌
+ 6
Try tapping the checkmark next to @Dennis' answer
+ 4
Yes I downloaded it with mingw. Please tell me what other info you need. Can the extension be changed to. cpp or do I have to uninstall and download the whole thing again.
+ 3
I downloaded it with administrative controls. I did not change the extension of the file while saving. Dennis what should I do now?
+ 3
Found it. I got one option to rename. I am slow
+ 3
Thanks a lot Dennis.
+ 2
Did you save the file as .cpp?
By default it saves as .c and that causes an error like this.
+ 2
Well, clicking File -> Save file as... and then type in your filename like:
blabla.cpp and clicking save might help :)
Also make sure the Save As is set to: C/C++ files
+ 2
Thx Dennis. I am trying to locate the programme on my C drive, so that I can change the extension.
+ 2
np, bro