1) prompt.h and prompt.cpp -- you need to specify function return values.
2) program is using uninitialized struct member in function Add_vcd(). You can fix that problem by adding a class constructor to the structure which initializes it.
struct vcdDB_T{
vcdRec_T vcdRecords[maxSize];
int vcdIndex;
public:
vcdDB_T() {vcdIndex = 0;}
};
There appear to be other problems too, such as displaying junk records.
Sponsor
Team Colleague
Featured Poster
Reputation Points: 5608
Solved Threads: 2282
Retired and Enjoying Life
Offline 21,953 posts
since Aug 2005