am loading cpp program into richtextbox, if the program have comments
comments means
//sum = a + b ;
OR
/*
sum = a + b ;
cout<< "answer" , sum ;
*/
so if the program have comments, before it will load into richtextbox i have to remove the comments area, that means the program shouldn't read that area. any idea using regular expression
Loading
Sam HobbsPosted Nov 6, 2010, 4:42 PM
http://www.codeproject.com/KB/recipes/crafting_interpreter_p1.aspx
http://www.codeproject.com/KB/recipes/TinyPG.aspx
http://www.codeproject.com/KB/recipes/CppHighLiter.aspx
http://www.codeproject.com/KB/cs/highlightcs.aspx