Is there any other way to execute a command without using system() like because system() uses the command prompt to execute the thing but i dont want to do that.
Code:#include <iostream>
#include <windows.h>
int main()
{
char TheThingYouWantToDo[NULL];
std::cout<<"What cha wanna do fool:";
std::cin>>TheThingYouWantToDo;
system(TheThingYouWantToDo);
return 0;
}