Answers for "want to execute c program through command prompt"

C
3

run a command in cmd with c

//C library statement
#include <stdlib.h>

//Driver program
int main(void)
{
	//The C command to run a command in cmd
	system("Your command here");
}
Posted by: Guest on December-15-2020
0

compile c file in command prompt windows

cl program.c
Posted by: Guest on May-06-2021

Code answers related to "want to execute c program through command prompt"

Code answers related to "C"

Browse Popular Code Answers by Language