Author Topic: Code::Blocks weird c++ problem with cout (or any command except from return)  (Read 2846 times)

Offline FirstTimerGaming

  • Single posting newcomer
  • *
  • Posts: 2
i can't explain in words.
https://snag.gy/tD3q9X.jpg    :(
Some self-typed code:
Code
#include<iostream>
int main()
{
std::cout << "Hello World!" << endl << "Another line";
std::cout << "Golden hamburger " << "Golden" << endl << "Hamburger" << endl;
return 0;
}

Offline 51423benam

  • Single posting newcomer
  • *
  • Posts: 8
Can you show your compiler settings?