Description: Design and implementation of Unix " time" command. " Mytime" command from the command line arguments accepted to run the program, create a separate process to run the program, and record the program running time. In the Windows implementation: use CreateProcess () to create a process using WaitForSingleObject () between " mytime" command and the newly created process synchronous call GetSystemTime () to get the time
To Search:
File list (Check if you may need any files):
test
....\Mytime
....\Mytimec
....\.......\Debug
....\.......\.....\Mytimec.exe
....\.......\.....\Mytimec.ilk
....\.......\.....\Mytimec.obj
....\.......\.....\Mytimec.pch
....\.......\.....\Mytimec.pdb
....\.......\.....\vc60.idb
....\.......\.....\vc60.pdb
....\.......\Mytimec.cpp
....\.......\Mytimec.dsp
....\.......\Mytimec.dsw
....\.......\Mytimec.ncb
....\.......\Mytimec.opt
....\.......\Mytimec.plg
....\......\Debug
....\......\.....\Mytime.exe
....\......\.....\Mytime.ilk
....\......\.....\Mytime.obj
....\......\.....\Mytime.pch
....\......\.....\Mytime.pdb
....\......\.....\vc60.idb
....\......\.....\vc60.pdb
....\......\Mytime.cpp
....\......\Mytime.dsp
....\......\Mytime.dsw
....\......\Mytime.ncb
....\......\Mytime.opt
....\......\Mytime.plg