pls i would like to know the process involved in an interactive input that can accept one or two data to manipulate arrays of files e.g when an interactive input request for your passport number to asses your student form or when the ATM machine request for pin number to asses an account?
interactive input
Started by kenex, Dec 16 2008 11:18 PM
5 replies to this topic
#1
Posted 16 December 2008 - 11:18 PM
|
|
|
#2
Posted 17 December 2008 - 06:34 AM
It will depend on whether you are looking at C or C++, whether you are doing command-line or GUI, if GUI, what toolkit/OS you are using, etc.
#3
Posted 17 December 2008 - 06:07 PM
I smell homework...just so you know, we don't do it for you. We want to see an honest attempt first.
#4
Posted 21 December 2008 - 10:48 PM
kenex said:
pls i would like to know the process involved in an interactive input that can accept one or two data to manipulate arrays of files e.g when an interactive input request for your passport number to asses your student form or when the ATM machine request for pin number to asses an account?
Read my c++ tutorial maybe it will give you a basic understanding.

+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ
#5
Posted 22 December 2008 - 08:05 AM
If you're using C, use printf and scanf. If you're using C++, use cout and cin respectively.
#6
Posted 22 December 2008 - 04:58 PM
As Dargueta said scanf is the way to receive and input in C. Read here:
http://www.geocities...on4Beginner.htmfor more information about the scanf function. You cant really receive help without specifying C or C++


Sign In
Create Account


Back to top









