Monday, May 26, 2014

Why Im getting error while trying to debug this program ?

Something there is not going right. Can you check inside you code for strange values? Make the computer work for you.


For example when you use a switch statement always put a default in it so you can catch any errors, It is easy to assume that all cases are covered, but easy to forget to cover all cases. So put an error message in the default unhandled cases of switch statments.




http://www.ransen.com Cad and Graphics software


No comments:

Post a Comment