Use g++ to compile the code:
$ g++ caesar.cpp -o caesar
Code | Function |
---|---|
g++ | uses g++ compilator to generate the binary |
caesar.cpp | the source code |
-o | flag to output |
caesar | binary generated |
Execute the output file:
$ ./caesar
enter the key: {your key number}
enter the sentence to be encrypted: {string phrase}
{your phrase encrypted}
Made with 💙 by @nallinguilherme