How to make a gaderypoluki cypher program?

Updated on November 25, 2017 in [A] Other Answers
Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0
0 on November 25, 2017

So I went to college and after a month and a half (6 labolatories) of coding a project has already been thrown at my face.
Here is the exact task:
Write a program which encrypts the file with a gaderypoluki cipher. The cipher should allow to use at least three keywords for coding, which should be chosen by switch -t. The program should run from console with following parameters: program.exe -i input.txt -o output.txt -t 1.

We have only done basics like if, for loops, switch and arrays (which I still can’t fully grasp). We haven’t done any operations on files and I see that it is needed in this project. The whole thing is supposed to be done in C.

As for now I have no idea how to even begin the thing.
How to make changes to text files?
What does the whole: “The program should run from console with following parameters: program.exe -i input.txt -o output.txt -t 1.” mean?
How should I write this kind of encryption?

  • Liked by
Reply