Answer the question
In order to leave comments, you need to log in
In what encode is written in .txt?
Here is the code.
#include <stdio.h>
#include "encrypt.h"
int main()
{
FILE *in=fopen("SecrtetMessage.txt","r");
FILE *file=fopen("UnSecrtetMessage.txt","w");
char msg[250];
while (fgets(msg,250,in))
{
encrypt(msg);
printf(file,"%s",msg);
getchar();
}
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question