I java We can be able to open any application through coding.. likewise Is it possible to open through c++? Help me.. as soon as possible
Printable View
I java We can be able to open any application through coding.. likewise Is it possible to open through c++? Help me.. as soon as possible
Have a look at this.
i found the solution guys
#include <stdlib.h>
#include<stdio.h>
#include<windows.h>
#include<conio.h>
void main()
{
ShellExecute(NULL,"open","c:\\windows\\system32\\notepad.exe",NULL,NULL,SW_SHOWNORMAL);
getch();
}
It perfectly worked if you complied in vc++ compiler