Is there some way to use variables in a system() command?
i've tried
but i only get an errormessage in the stdlib.h header (line 356), too many arguments in 'int system (const char*)'Code:system("%s",firstprogrampath);
as well in the actual program
(line 107) at this point in file.
So, is there any way to use variables in system();?
edit: also, firstprogrampath[50]; is a char variable. (string variable, i think the real name is?)