Re: Programs compiled in “simple c++†mode don't work when launching them from
Programs compiled in "simple c++" mode in QtCreator don't work correctly when launching them from qtcreator, but work when launching out from this ide.
When launching from QtCreator, the terminal window opens, i can enter in it anything, but program instructions don't work. The behavior without QtCreator is normal. This problem is in both: Debug and Release - buildes. Moreover, when i'm trying to use debug, breakpoints don't work too (even breakpoint set to the first line of main() function in main.cpp).
What can I do to solve this problem? Is this a bug or I'm just clumsy? Thank you.
The simple code that reproduce this problem:
Code:
#include
using namespace std;
int main()
{
int num;
cin >> num;
cout << num << "\nHello world!\n";
return 0;
}
(Message to subscribe to thread)
Re: Programs compiled in “simple c++†mode don't work when launching them from
try << std::endl; instead of the "\n". And make sure to use a real xterm as terminal, not a gnome-terminal or such.
Re: Programs compiled in “simple c++†mode don't work when launching them from
They (on other forum) answered me it's Qt bug.
Re: Programs compiled in “simple c++†mode don't work when launching them from
Who is "they" and what bug should that be?