i have a .exe file i need to run from within my c program. the .exe has to have a number after it so i use
is there a way to run this when i dont know the number in advance. i triedCode:system("c:\\program.exe 1");
This does not work.Code:system("c:\\program.exe %d",num);
any ideas