Wrox Programmer Forums
|
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old April 19th, 2004, 07:56 PM
Registered User
 
Join Date: Apr 2004
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
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





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





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.