Hi, Im working on an assignment for Uni, could someone please check my code. I am using Linux Redhat 7.1 compiler (gcc/g++ is the required compiler) for uni. My output is:
2000 14 January Tuesday 8:30 PM 0746347976 1.25
2000 12 January Sunday 12:01 AM 0754658009 1.98
2000 15 March Wednesday 1:00 PM 0754621915 12.37
p 369:1075503696 PÔ?@ @ 0.00
The first three lines are correct (they are the contents of the file) the last one is the problem it shouldn't print it.
The ass.cpp file is testing the adt.h. The adt.h file is the main problem i believe in the getrecords function.
All help and ideas will be appreciated
Thanks in advance.