You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
//this int main runs when someone types -decrypt (eventually implement that)
int main(){
char filename, outChar, char1, char2;
FILE *original, *process;
printf("Enter the name of the file you want to decrypt: "); //this will change cus the original command already says the file name (cryptoMagic -decrypt [filename]
scanf("%s", filename);
original = fopen(filename, "w");
if (original==NULL)
printf("File does not exist");
process = fopen("temp.txt", "r");
if (process==NULL)
printf("File does not exist");
outChar = fgetc(process);
while(outChar != EOF) //figure out how to loop through the .crp file,