Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
iostream
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: iostream (Read 2646 times)
zdubair
Multiple posting newcomer
Posts: 13
iostream
«
on:
December 19, 2015, 04:00:28 pm »
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
Logged
stahta01
Lives here!
Posts: 7649
Re: iostream
«
Reply #1 on:
December 19, 2015, 04:28:22 pm »
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
Logged
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ.
http://wiki.codeblocks.org
Jenna
Administrator
Lives here!
Posts: 7255
Re: iostream
«
Reply #2 on:
December 19, 2015, 07:46:47 pm »
Most of the time a wrong file-ending. Most likely just *.c instead of *.cpp .
Logged
zdubair
Multiple posting newcomer
Posts: 13
Re: iostream
«
Reply #3 on:
December 19, 2015, 09:06:21 pm »
OK tx
Works fine now....
Greetings zdubair.com.se
«
Last Edit: December 19, 2015, 09:10:41 pm by zdubair
»
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Using Code::Blocks
»
iostream