Hey, I'm trying to break in to my OWN computer so I can make it more secure and develop skills but I am getting confused with pointers...
Is there also any other way I can substitute system() for winexec()?Code:#include <iostream> #include <windows.h> #define cmd.exe "C;\windows\system32\cmd.exe" using namespace std; int main() { char *Input[128]; char Command[128]; Input=&Command; cin>>Command; cout<<*Input; Command="MSG.exe * Hi"; system("cmd.exe"+" "+Command); }



LinkBack URL
About LinkBacks



Want to add some
For example, the OP could learn pointers by creating his own linked list (something which inevitably all programmers end up doing at least once in their lives)