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 .

pspwxp fan commented: Start your work yourself. +0

Recommended Answers

All 3 Replies

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.

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.

commented: Quit spamming. +0
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.