i'm trying to write a compiler code that read file of C++ code and check the Error's inside it . I need better Idea than what I Do . to check errors . .. just simple example for idea no more .this is...