am doing a project, in which the am loading cpp program into richtext box, one thing i want to do, when am loading the cpp program , if the program contain any type of comments, that shouldn't read into the richtextbox
comments like
1) //
2) /* asdasd
asfasf
*/
3)/*asfasfasf*/
so how to resolve this problem
thnks.
Loading
Zoran HorvatPosted Nov 28, 2010, 3:28 PM
Another (more general) option is to make a grammar and create parser for that grammar. That would require more knowledge and more work in this case.