Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > C++ Programming
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
C++ Programming General discussions for the C++ language. For questions specific to Microsoft's Visual C++ variant, see the Visual C++ forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C++ Programming section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 19th, 2004, 07:56 PM
Registered User
 
Join Date: Apr 2004
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Input-checking function

Does anyone know of a function that checks whether or not there is any input in the input stream, and if not then it goes on to the next statement (as opposed to something like cin.get() or cin.peek() which wait until input from the user before going on to the next statement)?

Reply With Quote
  #2 (permalink)  
Old September 21st, 2004, 09:06 AM
Registered User
 
Join Date: Sep 2004
Location: Chennai, Tamil Nadu, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

HI,
  In C/C++ if u want any input from user u have to wait untill the user have to press any key otherwise no way to get out of that part. If u write the code for the input u have get any key stroke.
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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
User Forms & Checking Input JezLisle Excel VBA 0 February 6th, 2008 08:34 AM
Excel Function for Checking Email Syntax atr000 Excel VBA 0 July 18th, 2006 12:13 PM
How to call javascript function from VB function vinod_yadav1919 VB How-To 0 February 13th, 2006 06:03 AM
Checking for upper case in input parameter dumbdumb SQL Server 2000 2 March 17th, 2004 03:36 AM
checking user input hosefo81 Javascript How-To 0 February 16th, 2004 11:59 PM



All times are GMT -4. The time now is 03:14 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.