The following profram is not compiled.
Why? Please help me!
//This is a file copy utility//
#include<stdio.h>
#include<conio.h>
main(int argc, char argv[])
{
FILE *fs,*ft;
char ch;
if(argc!=3)
{
puts("Insufficient Arguments!");
exit();
}
fs=fopen(argv[1],"r");
if(fs==NULL)
{
puts("Cannot open Source file");
exit();
}
ft=fopen(argv[2],"w");
if(ft==NULL)
{
puts("Cannot open Source file");
exit();
}
while(1)
{
ch=fgetc(fs);
if(ch==EOF)
break;
else
fputc(ch,ft);
}
fclose(fs);
fclose(ft);
}