Cleaned up some old code

This commit is contained in:
2018-05-02 11:19:49 -04:00
parent 1c1b6d13d1
commit 6a0c1deb61

View File

@@ -1,7 +1,7 @@
//Ciphers/main.cpp
//Matthew Ellison
// Created: 4-25-18
//Modified: 4-30-18
//Modified: 5-2-18
//This file contains the driver function and the test functions for the Cipher program
//This program will use some simple ciphers that are no longer widely used but still fun to play with
@@ -69,21 +69,6 @@ int main(int argc, char** argv){
//Run the appropriate functions for the cipher
Fn cipherFunction = getCipher(cipherFlags);
cipherString = cipherFunction(inputFile, cipherFlags[ENCODE]);
/*
if(cipherFlags[CAESAR]){
cipherString = runCaesar(inputFile, cipherFlags[ENCODE]);
}
else if(cipherFlags[PLAYFAIR]){
cipherString = runPlayfair(inputFile, cipherFlags[ENCODE]);
}
else if(cipherFlags[VIGENERE]){
cipherString = runVigenere(inputFile, cipherFlags[ENCODE]);
}
else{
cipherString = "There is a big problem. No valid cipher option was given.\n";
return 0;
}
*/
if(failFlag){
std::cout << cipherString << std::endl;