Ah, now I understand you better. I would suggest to add option (c) Topic starter is a bit lazyLdB wrote: So lets be blunt he is (a) Very confused probably a C novice or (b) Didn't read any of the links given.
That's why I included this bit:DavidS wrote: How do I read the returned character value as an ASCII value (if it is a character) so that I can easily compare it? That is what has me stuck on using curses.
Code: Select all
/* This is the bit how I use it */ if (kbhit()) key = toupper(getch());