detect key combinations in c/c++

Hi all
How can I detect a key combination in a console application with c/c++? e.g ctrl+f4 or other combinations.

Thanks
One solution would be to use the ncurses library.
Topic archived. No new replies allowed.