Are you programming on Windows or Unix? If on windows, I recommend the following free programmer's editor: Context. "http://www.fixedsys.com/context/".
If on Unix, then Emacs or Nedit, which are brilliant at sytax highlighting.
My recommendation is to use a syntax highlighting editor, then you can spot compilation / typo mistakes at a glance.
It would be helpful if you could post your new code so the monks can have a look at what is happening at the lines of error.
Cheers, Roger.