how can design a programm to read what the user write in c++
example if he write
#include
int main(){
cout<<''hello there;
return 0;
}
then the output will be
1 include
2 int main(){....................ect
code line :4
blank line:0
hurry up pleassssssee i need your help
in other way how can i read file in c++