Advertisement
captainIBM

Untitled

Nov 29th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.01 KB | None | 0 0
  1. #include <string>
  2. #include <bitset>
  3. #include <iostream>
  4. #include <fstream>
  5. #include <cstdlib>
  6. #include <sstream>
  7.  
  8. using namespace std;
  9.  
  10. char cryptage(std::string file_content);
  11. char decryptage(std::string file_content);
  12. string file_way;
  13. string matrice_way;
  14.  
  15. int file_size = 4;
  16.  
  17.  
  18. int main()
  19. {
  20.     int choice;
  21.     string lien_out;
  22.  
  23.     cout << "|-----------------Codex--------------|" << endl;
  24.     cout << "chemin du fichier" << endl;
  25.     cin >> file_way;
  26.     cout << "chemin de la matrice" << endl;
  27.     cin >> matrice_way;
  28.  
  29.     cout << "action ?" << endl;
  30.     cout << "1) crypter" << endl;
  31.     cout << "2) decrypter" << endl;
  32.  
  33.     cout << "votre choix: ";
  34.     cin >> choice;
  35.         switch(choice){
  36.         case 1:
  37.             {
  38.  
  39.             }
  40.         break;
  41.  
  42.         case 2:
  43.             {
  44.  
  45.             }
  46.         break;
  47.         default:
  48.             return 0;
  49.  
  50.     }
  51.  
  52.  
  53. }
  54.  
  55.  
  56. char cryptage(std::string file_content){
  57.  
  58.  
  59. }
  60.  
  61.  
  62.  
  63. char decryptage(std::string file_content){
  64.  
  65.  
  66.  
  67.  
  68.  
  69. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement