Have you searched previous questions of this nature? Writing a compiler isn't a trivial feat, and C++ is an especially difficult language to process. Your best bet is to start by learning how to write a very simple compiler and then slowly expanding on what you learn.
Don't expect to write a C++ compiler as your first attempt.
you are right,but i want to do search for paklarios because i am student in the it coalge and iam in alast year to stude.i will be do compiler program.
i recust you to help my and please give me code to do c++ compiler(tokens-lexical-.......) .