Hi everyone,
If you look at Question 1.1.2 in the 2008 exam (Tut letter COS3114/104/2009) it states
Quote
Include both header and cpp files.
Now the solutions require only a few changes to the cpp and header files. It seems like a waste of time to re-write the entire header and cpp files to include the one liners. Considering this is a 2 hour paper... I would like to save as much time as possible. In your opinion would this be an acceptable solution?
Language: C++ (QT)
...
#ifndef PRIMECOUNT_H
...
class PrimeCount: public QObject{
...
int getCounter();
signals:
void foundPrime();
protected:
int sNumber, eNumber, counter;
....
}
#endif
I'm going to mail the lecturers now... If I get a response, I will post it here.