Home > Back-end >  Be urgent! Be urgent! Urgent!!!!!!!!!! In the MFC CFile what type of the file pointer is passed as a
Be urgent! Be urgent! Urgent!!!!!!!!!! In the MFC CFile what type of the file pointer is passed as a

Time:10-23

If inscribe! Look under the master!

Such as a function of
CFile file (fileDlg GetPathName (), CFile: : modeRead)

There is another function definition,
Int MyRead (CFile file, int offset)
{
File. The Seek (offset, CFile: : begin);
.
}

How do I use this function in the main function?


CodePudding user response:

Main function contained in the file header file of this class, and header files MyRread function in the class

CodePudding user response:

reference 1st floor sxqinge response:
the file contained in the main function of this class header file, and MyRread function in the class header file

Thank you, resolved the problem in the c + +!

CodePudding user response:

Just want to say to let you go to VC and MFC board
  • Related