Author Topic: Process returned 0 (0x0)????????  (Read 17333 times)

PersonOfC++Interest

  • Guest
Process returned 0 (0x0)????????
« 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!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: Process returned 0 (0x0)????????
« Reply #1 on: November 24, 2013, 08:17:48 am »
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.