User forums > Using Code::Blocks
iostream
(1/1)
zdubair:
Hello
When i run this
// my first program in C++
#include <iostream>
int main()
{
std::cout << "Hello World!";
}
i get error
iostream - no such file or directory
What is wrong?
Greetings zdubair.com.se
stahta01:
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28errors%29#Q:_My_simple_C.2B.2B_program_throws_up_lots_of_errors_-_what_is_going_on.3F
Jenna:
Most of the time a wrong file-ending. Most likely just *.c instead of *.cpp .
zdubair:
OK tx :) Works fine now....
Greetings zdubair.com.se
Navigation
[0] Message Index
Go to full version