Thread: Bank Account Program

  1. #1
    Registered User
    Join Date
    May 2008

    Bank Account Program


    Im trying to make a program that will ask for a Name, then an account number to go with that name. Then, another name, and another number with that name, and so on. Then at the end, it will list them all out.

    I want to work on this and figure it out myself to learn it, but can anyone please give me just somewhere to start, like a basic structure of my program. Do I use an array, 2 arrays... an array of strings. What would be best.

    Any help would be greatly appreciated.


  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Try something and find out.

    Even if your first approach is wrong, you'll still learn something.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    I agree with Salem. One tip I will give you is think about what the data types are. Is the account number a string or an int or double? And dependant how advanced your skills are, consider using a vector over an array.
    Double Helix STL

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. I need the code of few programs in c++.plzzzzz help...plzzz
    By NAVINKR20 in forum C++ Programming
    Replies: 1
    Last Post: 05-08-2009, 09:13 AM
  2. Bank Account Problem
    By JayBlay77 in forum C++ Programming
    Replies: 1
    Last Post: 03-19-2009, 08:41 AM
  3. Need help with a program, theres something in it for you
    By engstudent363 in forum C Programming
    Replies: 1
    Last Post: 02-29-2008, 01:41 PM
  4. Replies: 13
    Last Post: 01-13-2008, 09:38 PM
  5. My program, anyhelp
    By @licomb in forum C Programming
    Replies: 14
    Last Post: 08-14-2001, 10:04 PM