Skip to main content
gamedev.net
🔒 Locked

Getting input...

Started by NN Apr 13, 2001 at 12:58 AM 4 replies 450+ views
Original Post
NN
NN
How do I get user input, such as a string or number.
Mucman
Mucman
Gonna have to give some more details... ie What Language???

"You won''t get wise with the sleep still in your eyes." - Neil Peart
"You won't get wise with the sleep still in your eyes." - Neil Peart
NN
NN
C/C++
Mucman
Mucman
are doing it in console/DOS mode???

Then just do this

int input;
cout << "enter a number : ";
cin >> input;



"You won't get wise with the sleep still in your eyes." - Neil Peart

Edited by - Mucman on April 13, 2001 3:37:03 AM
"You won't get wise with the sleep still in your eyes." - Neil Peart
NN
NN
I meant in windows.
kvh
kvh
editboxes?

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.