Dec 4, 2017 03:19 PM
(This post was last modified: Dec 4, 2017 03:38 PM by Kovaska.)
Everything was working fine when I was on Windows. I'm using codeblocks on linux now and the console window opens for less than a second. I'm using a basic hello world program just as an example. I added std::cin.get(); and it still isn't working. I even looked at the settings and it says it is supposed to stay open when the program runs.
Code
#include <iostream>
int main()
{
std::cout << "Hello world!" << std::endl;
std::cin.get();
return 0;
}

