lundi 20 juillet 2015

How to read charecters with out pressing enter key in c++

I am writing a small game program in c++, which requires user to press some keys from keyboard. The problem with 'cin>>' or cin.get() is that it requires user to press enter to read data into memory. So,please help me to read key strokes with out pressing enter key. I work on Linux.

Aucun commentaire:

Enregistrer un commentaire