I am having trouble trying to figure out how to get a console app into a windows version of C++. My code basically takes a txt file and manipulates it to remove a form feed char and add 20 blank lines. I can do this easy in a console app like this:
How would i get this into, say, a simple windows program, like a single document MFC wizard program to process this code when i open the file? I read alittle on serialization but dont have any examples to work with.
int main(int argc, char* argv)
while (! infile.eof())
if (next == (char)12)
for (cnt = 1; cnt <= 20; cnt++)
outfile << "\n";