ideas or methods or about the answer, the novice to learn, learning MFC,,,
1. Task 1: operating system API application experience and programming design
By using the OS API. Write a program to meet the following requirements:
(1) to determine whether U;
(2) able to display the total capacity of U disk, use the capacity and remaining capacity;
(3) to a directory on the file or an entire directory is copied to the U disk;
(4) can be deleted on the U disk files;
(5) prohibit the use of U disk and open the use of U disk;
(6) it is recommended to use VC, can also use other languages;
(7) experience of the OS API function;
Try to read the PCB information; (8)
(9) other ideas,
2. Submit and complete an assignment on materials and reports, including:
(1) the original program;
(2) an executable program;
(3) the instructions;
(4) design and implementation notes;
(5) summary of the task completion, lessons and experience,
(6) the report format and require the same as the first homework
3. The Tips
Correlation function, using the method can find in the MSDN
GetDriveTypeW
GetDiskFreeSpaceEx
Used by CopyFile
GetFileSize
SHBrowseForFolder
BROWSEINFO etc.
It is recommended to use graphical interface MFC programming, can use the MFC class member functions, MFC class member function is related to Windows API wrapper, hides the implementation details, for starters, you can also find Windows API to implement related functions,
Upon completion of the basic functions, try to highlight the characteristics of their own personal (such as functions, interface beautification) can study each other, but to put an end to mindless copying, students can be more direct experience less with actual combat experience, can not solve the problem to information tube 415 solutions,
CodePudding user response:
Can say technical requirements also had, implementation method have, problem is converted into codeCodePudding user response:
Can not solve the problem to information tube 415 to seek solutions,CodePudding user response:
CodePudding user response:
Can not solve the problem to information tube 415 to seek solutions,CodePudding user response:
Basic API functions are listed, and does not find MSDN documents organization again