I need to make a program that reads the program its self and echo prints it to the screen. I appreciate any help. For example if the program was:
<iostream>
using namespace std;
int main (){
//This is my program
}
return 0;
My output would be this printed on the screen.
<iostream>
using namespace std;
int main (){
//This is my program
}
return 0;