I want to read sentence from command line. I open some program which run in command line and I have to wait for that program process. So , I don't know when process success .I can't type next command if can't read sentence from command. I use
Code:
 wprintf(GetCommandLine());
but it show
"C:\Users\PKRU\documents\visual studio 2010\Projects\Virus Scan\Debug\MyProgram
please help me How to read sentence from Command line with MFC ?