c++ project using ncurses