![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Mar 2008
Posts: 2
Rep Power: 0
![]() |
C++ file sorting
Can somebody give me an idea how to start doing this??
Tasks: 1. There is one input file which contains a list of data with a number of columns and rows. 2. The file should be sorted according to different column(ranks, location...) depending on the input of the user. My problem is that how should i read the rows so that it can be stored it in a structure, such that the file can be sorted according to one column at a time(e.g. according to the rank). Should spaces be taken into consideration while reading the file?? thanks in advance for any help would be appreciated! |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| problem processing file into a char array | csrocker101 | C++ | 1 | May 9th, 2007 12:50 AM |
| Sorting By File Size | Steiner | Visual Basic | 3 | Jun 17th, 2006 2:58 PM |
| After execution - Error cannot locate /Skin File? | wchar | Visual Basic | 1 | Mar 5th, 2005 10:04 PM |
| airport Log program using 3D linked List : problem reading from file | gemini_shooter | C++ | 0 | Mar 2nd, 2005 5:12 PM |
| Structure char field to a disk file | ehab_aziz2001 | C++ | 0 | Feb 10th, 2005 3:42 PM |