![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#21 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
I didn't say that...
![]() |
|
|
|
|
|
#22 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
lol cheers... But yeah, listen to ivan's point!
__________________
www.heldtogether.co.uk |
|
|
|
|
|
#23 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
I appologize if I said something wrong... but I was only trying to help!
|
|
|
|
|
|
#24 |
|
Professional Programmer
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4
![]() |
And i was only agreeing with you, sorry if it sounded agressive/rude/annoying
friends? ![]()
__________________
www.heldtogether.co.uk |
|
|
|
|
|
#25 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 3
![]() |
Sure
Althrough, this is not a chat so let's back to the topic before somebody flames us... ![]() |
|
|
|
|
|
#26 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
I still haven't gotten an answer, so I'll guess the OP is talking Windows .
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#27 |
|
Game engine designer
Join Date: May 2005
Location: Sweden
Posts: 297
Rep Power: 4
![]() |
If you are using Windows you might be able to use this...
#include <conio.h>
#include <iostream>
int main()
{
int key = 0;
while(key != 27)
if(kbhit())
{
key = getch();
std::cout << "Key: " << static_cast<char>(key);
std::cout << " Keycode: " << key << std::endl;
}
} |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|