help me to solve this

Reply

Join Date: Oct 2008
Posts: 51
Reputation: bahr_alhalak has a little shameless behaviour in the past 
Solved Threads: 0
bahr_alhalak bahr_alhalak is offline Offline
Junior Poster in Training

help me to solve this

 
-2
  #1
Oct 25th, 2009
account No. ....... Pin No........Name........Balance
ex: a0910........21996........james........210.000


1) write a program to store data instance for 50 customers , and sort in the order of account no and take a report of all customers.

2) To store a data in a file .
Last edited by bahr_alhalak; Oct 25th, 2009 at 11:28 am.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 72
Reputation: SgtMe is an unknown quantity at this point 
Solved Threads: 3
SgtMe SgtMe is offline Offline
Junior Poster in Training
 
0
  #2
Oct 25th, 2009
All you need is to have the data stored in variables that can then be written into a text file (saving) and then read from the text file (loading). Check out the tutorials at cplusplus.com.
Then have a function that can be called by the user, that writes out a list of all the accounts.
Last edited by SgtMe; Oct 25th, 2009 at 11:57 am.
Reply With Quote Quick reply to this message  
Join Date: Feb 2009
Posts: 90
Reputation: pspwxp fan is an unknown quantity at this point 
Solved Threads: 7
pspwxp fan pspwxp fan is offline Offline
Junior Poster in Training
 
1
  #3
Oct 25th, 2009
Please do not litter this forum with threads that evidently show you are putting in no effort to solve the problem yourself.

I think posts like these should be enough to get the poster banned for 3-5 days, if not more. Any posts that have a question/problem and no attempt to solve themselves.
Reply With Quote Quick reply to this message  
Join Date: Oct 2009
Posts: 1
Reputation: Md. Asaduzzaman is an unknown quantity at this point 
Solved Threads: 0
Md. Asaduzzaman Md. Asaduzzaman is offline Offline
Newbie Poster

Creat a class named student with data, name , ID and Semester.

 
-2
  #4
Oct 25th, 2009
Creat a class named student with data, name , ID and Semester.
use a consturctor function to allocate memory for the data provide two member function called get input () this will take input for a student and show() that will display the data. also use a destructor function that will automatically display elapsed time when a student type object is destroyed.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 225 | Replies: 3
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC