qt creator - C++ console ncurses project - QtCreator doesn't show any output in xterm neither in console -


#include <ncurses.h>  int main() {     initscr();      addstr("hello world");     refresh();     getch();     endwin();     return 0; } 

this basic application doesn't show output when building , running in qtcreator 2.8.0.

when run compiled in qtcreator program in separate terminal window, works fine. when run under qtcreator (ctrl-r or press "run" button), see empty xterm window , no output. guess somehow related qtcreator_process_stub, entitles empty xterm window.

try replacing

addstr("hello world"); 

with

printw("hello world !!!"); 

see


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -