May 12th, 2012, 08:53 AM
[RESOLVED] c++ data structures program to search records by different fields
I work in a small library and have been given a task to make a program. To make things short, i have copied all my records to a text file
1.Lord of the rings,J. R R Tolkiens
2.Tom sawyer,,Mark twain
3.Just after sunset,Stephen king
4.The shining,Stephen king
5.Oliver twist,Charles Dickens
6.Huck Finn,Mark twain
7.Children on Hurin,J R R Tolkiens
8.Silmarilions,J R R tolkiens
How can i make my c++ program to read this file, read records as arrays, sort them, and search either by book name or by the auhtor. If i write Tolkiends, how can i make it output all the books written by J R R tolkiens?
Tags for this Thread
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.