Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 11th, 2005, 3:47 PM   #21
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
I didn't say that...
ivan is offline   Reply With Quote
Old Dec 11th, 2005, 3:48 PM   #22
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
lol cheers... But yeah, listen to ivan's point!
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old Dec 11th, 2005, 3:52 PM   #23
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
I appologize if I said something wrong... but I was only trying to help!
ivan is offline   Reply With Quote
Old Dec 11th, 2005, 3:54 PM   #24
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
And i was only agreeing with you, sorry if it sounded agressive/rude/annoying

friends?
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old Dec 11th, 2005, 3:56 PM   #25
ivan
Professional Programmer
 
ivan's Avatar
 
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4 ivan is on a distinguished road
Sure

Althrough, this is not a chat so let's back to the topic before somebody flames us...
ivan is offline   Reply With Quote
Old Dec 11th, 2005, 4:18 PM   #26
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
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
DaWei is offline   Reply With Quote
Old Dec 11th, 2005, 6:29 PM   #27
Klarre
Game engine designer
 
Klarre's Avatar
 
Join Date: May 2005
Location: Sweden
Posts: 301
Rep Power: 4 Klarre is on a distinguished road
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;
		}
}
Klarre is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:32 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC