Home > Software engineering >  The main function of the console to the MFC
The main function of the console to the MFC

Time:10-13

Everyone a great god, and I am not computer professionals, graduation design, now do you need to write a program to the processing of a file, and then is roughly finished in Visual Studio 2015 console application function, now would like to migrate to the MFC, encountered problems, bother everybody to help see, thank you

CodePudding user response:

Int CSSTView: : doDataProcess (LPCTSTR szFile)
{
//copy the contents of the main here, compilation, debugging, running
}

CodePudding user response:

Can put your global variables as the View class member variables, int CSSTView: : doDataProcess (LPCTSTR szFile) function to add the code in your main document handling,
  • Related