C++ programs on object and classes

Thread Starter

sadaf

Joined Aug 4, 2010
25
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.....
 

spinnaker

Joined Oct 29, 2009
7,830
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.....
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.
 

Thread Starter

sadaf

Joined Aug 4, 2010
25
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?
 

spinnaker

Joined Oct 29, 2009
7,830
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?
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?
 
Top