Bank Account Program

This is a discussion on Bank Account Program within the C++ Programming forums, part of the General Programming Boards category; Hey, Im trying to make a program that will ask for a Name, then an account number to go with ...

  1. #1
    Registered User
    Join Date
    May 2008
    Posts
    1

    Bank Account Program

    Hey,

    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.

    Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,834
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  3. #3
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    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.
    I'm just trying to be a better person - My Name Is Earl

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, 10:13 AM
  2. Bank Account Problem
    By JayBlay77 in forum C++ Programming
    Replies: 1
    Last Post: 03-19-2009, 09: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, 11:04 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21