C++ programs on object and classes

Discussion in 'Programmer's Corner' started by sadaf, Oct 6, 2010.

  1. sadaf

    Thread Starter New Member

    Aug 4, 2010
    25
    0
    I want to write a class named as ‘bank’, having following member functions for getting name and balance, withdraw money, deposit money, display name and balance.
    Also use a constructor for initializing name and balance automatically.
    In C++ language,I am so confused in it.....
    How we can make this program or what is the program of this statement?
    Please tell me.....
     
  2. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,866
    988
    This is extremely basic. Have you read any information on C++ before posting? There are books and tons of free sites that can give you a far better explanation than can occur here.
     
  3. sadaf

    Thread Starter New Member

    Aug 4, 2010
    25
    0
    Yes you write, but i don't have any book rlated to C++ programming book and i don't have time to read this on my pc......
    and it is urgent, so please help me if you can.............?
    Will you do?
     
  4. shteii01

    AAC Fanatic!

    Feb 19, 2010
    3,377
    494
  5. spinnaker

    AAC Fanatic!

    Oct 29, 2009
    4,866
    988
    You don't have time to read yet you expect people to take time to explain? If you don't have the time to read then how are you going to be able to read the explanation?
     
Loading...