I need help on a transcript generator. Please assist!

I this program has 6 classes,

Course, Semester, Student, Transcript, TranscriptImporter and TranscriptExporter.

The basis of the program is to have a .txt file that imports data to each of the following classes through their functions which are in a separate .cpp file for each class. There is a main function which calls these functions

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20

#include <string>
#include "Transcript.h"
#include "TranscriptImporter.h"
#include "TranscriptExporter.h"

using namespace std;

int main() {

string inFile = "data.txt";
string outFile = "transcript.txt";

Transcript transcript = TranscriptImporter::loadTranscriptFromFile(inFile);

TranscriptExporter::saveTranscript(transcript, outFile);

return 0;

}


I am having trouble thinking about how to use the TranscriptImporter and Exporters that I would be able to extract the students name course grade ext, from a file that looks some thing like this.

" "
Joe Psu, 987654321
BIO 100, 4, FALL, 2012, 3.33
CMPSC 121, 3, SPRING, 2013, 4.00
CMPSC 122, 3, FALL, 2013, 4.00
ECON 104, 3, FALL, 2013, 3.67
ENGL 015, 3, FALL, 2012, 4.00
HIST 001, 3, SPRING, 2013, 2.67
INART 002, 3, FALL, 2013, 3.33
IST 110H, 3, FALL, 2012, 4.00
MATH 140, 4, FALL, 2012, 4.00
MATH 141, 4, SPRING, 2013, 3.67
SPAN 001, 4, SPRING, 2013, 3.00
SPAN 002, 4, FALL, 2013, 3.33
" "
Topic archived. No new replies allowed.