Code::Blocks Forums
User forums => Help => Topic started by: PersonOfC++Interest on November 24, 2013, 05:13:15 am
-
hi. im a beginner at c++ and codeblocks. i have a book to guide me, but was confused to see this output after i compiled my work (F9) :
"Process returned 0 (0x0) execution time: 0.109 s
Press any key to continue..."
This is my work:
#include <iostream>
int main()
{
std::cout <<"Solidum petit in profoundis!\n";
return 0;
}
i expected this output:
Solidum petit in profoundis!
I went through the forums and i saw some related topics. but alas, im a beginner, and i was not able to understand what the people were saying. i know i did everything correctly.
please help!
-
The message you see is a convenince message of C::B.
The fact, that you not see the output of you cout-call is a programming error and not a C::B error (and the solution is simple).
So asking questions about this and answering it violates our forum rules !
Read how cout and related functions work.
Ask questions in C/C++ related forums.
And please use code-tags, if you post any source code here, the next time.