/*This programm converts 928 character set to macedonia's.In order to execute it you must compile it with gcc . */ #include #include void main(int argc, char *argv[]) { int i,c; FILE * fp; FILE * fp1; if (argc!=3) { printf("\n\n928_2Macedonia Converter *Version 1.3* by Spiros Ioannou\n"); printf("Syntax:928_2mac infile outfile (infile must be different than outfile)\n\n");} else if (strcmp(argv[1],argv[2])==0) printf("INFILE SHOULD BE DIFFERENT FROM OUTFILE"); else if ((fp=fopen(*++argv,"r")) == NULL) {printf("I cannot open %s \n",argv[0]); } else { fp1=fopen(*++argv,"w"); while ((c=getc(fp)) != EOF) { if (202<=c&&c<=209) c++; else if (214