hai ,
I am using turbo c compiler,
the system() function always return -1.
i can't run any dos command using system() function
i can't use system() properly
please help me !!!
ex:
#include<stdio.h>
#include<conio.h>
#include<stdlib.h>
void main()
{
int i ;
i=system("dir");
printf("%d",i);
getch();
}