Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 09-18-2011, 05:05 AM   #1
Solid State Member
 
Join Date: Feb 2011
Posts: 14
Default using mouse and keyboard in C++.

I am planning to make a game in C++ but it requires use of mouse and keyboard. Plz let me know if there is any facility in C++ for such purpose.......
__________________

therockstar920 is offline   Reply With Quote
Old 09-19-2011, 12:10 PM   #2
Site Team
 
berry120's Avatar
 
Join Date: Jul 2009
Location: England, UK
Posts: 3,425
Default Re: using mouse and keyboard in C++.

Quote:
Plz let me know if there is any facility in C++ for such purpose.......
Yes.

However, the fact you need to ask that question suggests to me that C++ isn't the best place to start for you at all. I'd try a framework such as Greenfoot first of all to get to grips with programming.
__________________

__________________
Save the whales, feed the hungry, free the mallocs.
berry120 is offline   Reply With Quote
Old 09-21-2011, 08:16 PM   #3
Baseband Member
 
Join Date: Jun 2005
Posts: 65
Default Re: using mouse and keyboard in C++.

I agree with berry, but to get you off on the right foot:

NeHe Productions - Everything OpenGL

The tutorials (now for some reason called legacy tutorials) are a very good resource for learning openGL and GLUT, which is the most popular way that I know of for doing games that require a mouse and keyboard.

You could also use fltk, or the MFC libraries if you're on windows.
__________________
All the world's a computer, and all the men and women merely AI agents...
Bucky24 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0