1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
#include<stdio.h>
#include<conio.h> //test.cpp
#include<string.h>
#include<ctype.h>
int main(int argc, char **argv)
{
char* substring(char*,char*,int,int);
FILE *f1;
FILE *f2;
char fa;
char fb;
char a[500],b[500],temp[500];
int flag=0;int count1=0;
int i,j,k,l=0,tag1,tag2,count=0;
i=0;
j=0;
k=0;
fa='0';
fb='0';
char x[]="C:/Dev-C++/Bin/";
char y[]="C:/Dev-C++/Bin/";
strcat(x,argv[1]);
strcat(y,argv[2]);
f1=fopen(x,"rb");
f2=fopen(y,"rb");
if (f1==NULL)
{
printf("\nDoes'nt exist\n");
}
.
.
.
return(0);
}
|