Jump to content

interactive input

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
5 replies to this topic

#1
kenex

kenex

    Learning Programmer

  • Members
  • PipPipPip
  • 32 posts
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?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
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.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,713 posts
I smell homework...just so you know, we don't do it for you. We want to see an honest attempt first.

#4
Donovan

Donovan

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 798 posts

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.
Posted Image
+Friend Me | My Graphics | Forum Rules | Help Forum | Forum FAQ

#5
dargueta

dargueta

    Writes binary right handed and hex left handed

  • Moderators
  • 4,713 posts
If you're using C, use printf and scanf. If you're using C++, use cout and cin respectively.

#6
nicckk

nicckk

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 629 posts
As Dargueta said scanf is the way to receive and input in C. Read here:
http://www.geocities...on4Beginner.htm
for more information about the scanf function. You cant really receive help without specifying C or C++