Thread: Help Needed

  1. #1
    Registered User
    Join Date
    Feb 2003
    Posts
    4

    Help Needed

    Write a program for a bank ATM machine. How and where do i start.

  2. #2
    End Of Line Hammer's Avatar
    Join Date
    Apr 2002
    Posts
    6,231
    So, you've gone from not being able to read an int, to wanting to write ATM software? Wow, that was quick learning

    Start by reading some C tutorials. There are plenty on the web, use www.google.com to find some, or the search facility on this forum.
    When all else fails, read the instructions.
    If you're posting code, use code tags: [code] /* insert code here */ [/code]

  3. #3
    Registered User dizolve's Avatar
    Join Date
    Dec 2002
    Posts
    68
    Start with displaying one option, like "Check Balance".. make that work and then continue to add options until everything you can think of is done. Go look at a real ATM to get ideas for what you need to do.

    As for design, just do a program loop, check for input and do what's needed. I'd keep one variable to track where you're at in the options and I'd use numbers (ie. 1. Check Balance 2. Make Deposit) for options.

      __               &n bsp;      ___ & nbsp;       &nb sp;       &nbsp ;    
     /\ \  __    &nbs p;           /\_ \      &nbsp ;        & nbsp;     
     \_\ \/\_\  ____     _ __\//\ \    __  __&n bsp;    __   
     /'_` \/\ \/\_ ,`\  / __`\\ \ \  /\ \/\ \  /'__`\ 
    /\ \_\ \ \ \/_/  /_/\ \_\ \\_\ \_\ \ \_/ |/\  __/ 
    \ \___,_\ \_\/\____\ \____//\____\\ \___/ \ \____\
     \/__,_ /\/_/\/____/\/___/ \/____/ \/__/   \/____/
            &n bsp; I have a BAD figlet& nbsp;addiction.

  4. #4
    Casual Visitor
    Join Date
    Oct 2001
    Posts
    350
    GUI or text based

    Do it on paper first. Figure out your logic and verify that it makes sense. When you get to writing it using the compiler, just create one part of it and check that the boundary conditions are correct or use a small array and check all of the conditions.
    I haven't used a compiler in ages, so please be gentle as I try to reacclimate myself. :P

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. free needed or not?
    By quantt in forum Linux Programming
    Replies: 3
    Last Post: 06-25-2009, 09:32 AM
  2. C Programmers needed for Direct Hire positions
    By canefan in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 09-24-2008, 11:55 AM
  3. lock needed in this scenario?
    By George2 in forum C# Programming
    Replies: 1
    Last Post: 05-25-2008, 07:22 AM
  4. C++ help needed
    By Enkindu in forum Projects and Job Recruitment
    Replies: 3
    Last Post: 08-31-2004, 11:24 PM
  5. semi-colon - where is it needed
    By kes103 in forum C++ Programming
    Replies: 8
    Last Post: 09-12-2003, 05:24 PM