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 .

Edited by bahr_alhalak: n/a

Votes + Comments
Start your work yourself.
7 Years
Discussion Span
Last Post by Md. Asaduzzaman

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.

Edited by SgtMe: n/a


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.


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.

Votes + Comments
Quit spamming.
This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.