0 Replies - 1243 Views - Last Post: 21 June 2012 - 03:49 PM

Application architecture difficulties.

Posted 21 June 2012 - 03:49 PM

Hi

I'm writing (the very first program with more than 90% of code written by me) a program which should calculate the payment based on time - a parking meter essentially.

It's working, and all, however I'm not able to properly implement the error handling - the app seem to enter an endless loop and I just can't figure where.
The app must be fool-proof, that's why I've hardcoded cursor positions.

I've got a feeling that although the program doing it's job it could be shorter/more elegant, which would probably help resolve the error handling issue.
The only error handled now is entering time which is in future relatively to machine's local time.