Code::Blocks

User forums => Help => Topic started by: FirstTimerGaming on July 30, 2018, 09:36:41 pm

Title: Code::Blocks weird c++ problem with cout (or any command except from return)
Post by: FirstTimerGaming on July 30, 2018, 09:36:41 pm
i can't explain in words.
https://snag.gy/tD3q9X.jpg    :(
Some self-typed code:
Code: [Select]
#include<iostream>
int main()
{
std::cout << "Hello World!" << endl << "Another line";
std::cout << "Golden hamburger " << "Golden" << endl << "Hamburger" << endl;
return 0;
}
Title: Re: Code::Blocks weird c++ problem with cout (or any command except from return)
Post by: 51423benam on July 30, 2018, 10:19:21 pm
Can you show your compiler settings?
Title: Re: Code::Blocks weird c++ problem with cout (or any command except from return)
Post by: BlueHazzard on July 30, 2018, 10:31:57 pm
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_(general)#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F