I am questioning my solution to the last exercise in Accelerated C++:
Write a self-reproducing program. Such a program is one that does no input, and that, when run, writes a copy of its own source text on the standard output stream.
ifstream thisFile("C:\\Users\\Kevin\\Documents\\NetBeansProjects\\Accelerated_C++_Exercises\\Chapter_16.cpp", ifstream::in);
bool foundHeader = false;
if(!curLine.compare("void selfReproduce16_1()") || foundHeader)
foundHeader = true;
cout << curLine << endl;