Clion 2017.1 Trying to run Hello world. The program is successfully assembled, but when launched it drops from
During startup program exited with code 0xc0000018. If you run in debug mode with a break to main , then it turns out that main not called - the program crashes somewhere else before.
I compiled MinGW with gcc versions 4.7.1 , 5.1.0 and 6.3.0 - all the same. All on Windows.
Actually, what to do?
By the way, in Code :: Block with the same compiler gcc 4.7.1 everything is successfully assembled and works - the problem is somewhere in clion-e
Added program code
#include <iostream> using namespace std; int main() { cout << "Hello world!" << endl; return 0; }