Realised that there was a problem with the code for my CS2105 programming assignment. Basically, the Timer class did not worked as i expected it to.

Stored 5 Timers in a Timer array and used delegate to call a function so that I can pass parameters in.. Somehow the timer will call the function in the first element in the array, regardless of which one is enabled. No idea why tho. Will probably figure out after the sem is over.

Decided to start from scratch again, and rewrite the entire code for q2 and managed to finish it under 1 hour =). Writing with classes sure as hell makes it easier too =)

Time to go learn how to do UI in C++.

Similar Posts:

Tagged with:
 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>