someRandomCamelCasin

Code For Caesar Cipher Program

Jul 26th, 2014
448
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5.  
  6. char alphabet[26] = { 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z' };
  7.  
  8. string userInput;
  9.  
  10. char letterConverting;
  11.  
  12. void main() {
  13.     cout << "What would you like to put through the Ceasar Cipher?" << endl;
  14.     //cin >> userInput;
  15.     getLine(cin, userInput);
  16. }
Advertisement
Add Comment
Please, Sign In to add comment