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)
int getCounter();signals:void foundPrime();protected:int sNumber, eNumber, counter;
I'm going to mail the lecturers now... If I get a response, I will post it here.
That question only counts 4 marks, so I would personally only do enough work for 4 marks & add comments like "//for loop from original code goes here".
I'm sure that would be acceptable as they wouldn't be marking their own code but rather the changes you've made.
Petra replied to my mail (very quickly: I'm impressed by how fast I got a response). Here is a summary of what I got back
1 Using ellipses is okay, however, make sure nothing is ommitted. I assume that we must show where in the original code our new code will go; Similar to what I've done in the first message of this thread.
2 We can write code out in pencil; so long as it is neat and legible.