Skip to content

Commit

Permalink
corrected includes
Browse files Browse the repository at this point in the history
  • Loading branch information
calebTree committed Aug 20, 2021
1 parent 1802db2 commit 5f09da4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 9 deletions.
2 changes: 0 additions & 2 deletions caesar-cipher.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#include "caesar-cipher.h"

using namespace std;

void encryption(const string &plainAlpha) {
int key;
string message, cipherAlphabet, cipherText;
Expand Down
8 changes: 4 additions & 4 deletions caesar-cipher.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#ifndef CAESAR_CIPHER_CAESAR_CIPHER_H
#define CAESAR_CIPHER_CAESAR_CIPHER_H

#endif //CAESAR_CIPHER_CAESAR_CIPHER_H

#include <iostream>
#include<limits>
#include <limits>

using namespace std;

Expand All @@ -26,4 +24,6 @@ string cipherMessage(const string&, int&);

string decrypt(const string&, int&);
// Function to decrypt the message.
// Postcondition: const string is ciphertext shifted back by int positions.
// Postcondition: const string is ciphertext shifted back by int positions.

#endif //CAESAR_CIPHER_CAESAR_CIPHER_H
3 changes: 0 additions & 3 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#include <iostream>
#include "caesar-cipher.h"

using namespace std;

int main() {
cout << "\nWelcome to Julius Caesar's Shift Cipher!"
"\nEnter an integer to shift the normal alphabet left by that number of positions." << endl;
Expand Down

0 comments on commit 5f09da4

Please sign in to comment.