Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Basic Compiler > C or C++ cin he...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 92 of 149
Post > Topic >>

C or C++ cin help

by "fadhouli" <basilfadhouli@[EMAIL PROTECTED] > Nov 12, 2004 at 10:21 AM

Dear all
 whe can help with this one
 I need to use cin to enter data but i do not wont to push Enter at the
keyboard after I type the data i wont.exp 
I do not matter in i will have infinity loop for exp
if the program going to ask me 
enter the name ........ what i need after i enter Tom
it will ask me to Enter other name with out Push Enter at the keyboard.in
other why how i can use ingnor to ignor the enter and the program with
accept just 5 Char.
other exp.
out put
Enter the name
 it will accept just 5 Char then it will go to the next step
Enter the name
Tom00     with out push Enter




 1 Posts in Topic:
C or C++ cin help
"fadhouli" <  2004-11-12 10:21:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 23:50:55 CDT 2008.