/*File copy program*/
#include<stdio.h>
#include<conio.h>
#include<process.h>
void main()
{
 FILE *fs, *ft;
 char ch;
 fs=fopen("lin_list.cpp","r");
 if(fs==NULL)
 {  printf("\nError opening source");  exit(0);  }
 ft=fopen("linklist.cpp", "w");
 if(ft==NULL)
 {  printf("\nError opening target"); fclose(fs); exit(0);  }
 while((ch=getc(fs))!=EOF)
 putc(ch,ft);
 fclose(fs); fclose(ft);
 getch();
}


