Start commenting out lines of code from main program until it runs. Then try to uncomment the last line you commented and try to figure out what you did wrong.

Maybe it's unfair,but when I see...