//CS 2308 //Roger Priebe 10/17/07 //Vangelis Metsis 03/04/2015 //This file is a driver program for the crypto.cpp module. //This program must work with your implementations crypto.h and crypto.cpp #ifdef linux #define LINUX true #define WINDOWS false #endif #ifdef __WIN32__ #define LINUX false #define WINDOWS true #endif #include #include #include #include "crypto.h" const string FILE_NAME = "plain_text.txt"; using namespace std; int main() { getText(FILE_NAME); if (WINDOWS) system("cls"); //Windows only else system("clear"); //Linux only //Alternative way to clear screen //cout << "\033[2J\033[1;1H"; //Clears the Screen in Linux showText(); cout << endl; encryptText(); showText(); return 0; }