Don't think this topic fits here... but anyway:
You can use C++ editors or syntax checkers with .cpp files, and for the most part it will work well. I use
textpad. It seems to work just fine.
Such tools can only find errors like missing parenthesis, quotation marks, or the like, though. If you want any more error-checking then that; well, you've always got ofp's nice little error messages.