>stackoverflow fags are asleep i suppose
>some anon, pls help
so i'm trying to replace conio.h with ncurses.h alotted i've been using ubuntu for the last two years and i just decided to start working with c/c++ more lately.
anyone care to go out of their way to show me how to use ncurses variant of getch(); im beginning to think its just plain fucking broken.
i.e
int x = getch();
or
string x = getch();
just crashes program.
even if i declare x earlier on it still shits on me.
Any anon willing to help, it'd be much appreciated.
god please, someone help
>>57617862
Install gentoo
>>57618449
sad kek
>>57617862
Your ability to describe problem is top notch. I hope your programming skills are better.
And maybe try usingnext time.
http://programming59.blogspot.cz/2011/07/getch-function-in-cc-language.html?m=1
>>57618833
You are fucking retarded, he asked about ncurses.h not conio.h
try if this code works for you: http://invisible-island.net/ncurses/NCURSES-Programming-HOWTO.html#INITEX
If not, your installation may be brocken