I am trying to make a program that generates source code for a much larger program for simple reversal encryption. I don't know what I am doing wrong. Here is my code so far:
#include<stdio.h>
int main()
{
FILE *fp;
fp=fopen("d:\\crypt.h", "w");
fprintf(fp, "char out[8];char cur[8];
char con[255,255,255,255,255,255,255,255];/n
if cur==con out==0,0,0,0,0,0,0,0;/n
while(cur <= con) /n
con=con-1/n
if cur>=con out=out+1;
");
return 0;
}
please help, thank you