Sunday, 27 November 2016

Run Other Program with C++ 2008 Console Mode


// run.cpp : BeKaBe - Run Other Program with C++ 2008 Console Mode // 14:19 27/11/2016 #include "stdafx.h" #include "iostream" #include "stdlib.h" int _tmain(int argc, _TCHAR* argv[]) { std::cout<<"BeKaBe: Hello Notepad and Regedit!"; system("start C:\\Windows\\system32\\notepad.exe"); system("start C:\\Windows\\regedit.exe"); return 0; }

No comments: