Thread: ATM assignment

  1. #1
    Registered User
    Join Date
    Oct 2008

    ATM assignment

    My teacher just gave us an ATM assignment and today was our 4 week of programming , our teacher hasnt taught us about file linking or stuff , i wanted to ask that the problem which il be having is that my teacher told us that .

    "When your program starts, it should be displaying a login screen. User will be asked to enter a login and 5 digit pin code. The system verifies the login and pin and displays an error if it is incorrect
    You have to create a array that holds the username and password
    Enter login: example
    Enter Pin code: 12345 "

    I dont know how how will i save the data of a user :$ , when it will ask login or stuff ? how can it be done ? storing data in a text file and then accessing it , please help me out with that part

  2. #2
    Join Date
    Oct 2007
    Inside my computer
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Oct 2008
    It seems to me you don't have to store anything in a file. The assignment states you just store it in an array, so it sounds to me like you hardcode it in the application...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Menu
    By Krush in forum C Programming
    Replies: 17
    Last Post: 09-01-2009, 02:34 AM
  2. Assignment Operator, Memory and Scope
    By SevenThunders in forum C++ Programming
    Replies: 47
    Last Post: 03-31-2008, 06:22 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 02:39 PM
  4. Help with a pretty big C++ assignment
    By wakestudent988 in forum C++ Programming
    Replies: 1
    Last Post: 10-30-2006, 09:46 PM
  5. Replies: 1
    Last Post: 10-27-2006, 01:21 PM