daily pastebin goal
59%
SHARE
TWEET

Untitled

a guest Feb 22nd, 2019 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //REVERSE WORLD LAB..
  2. #include <iostream>
  3. #include <ctime>
  4.  
  5.  
  6. int main() {
  7.  
  8.    
  9.     srand(time(0));
  10.    
  11.    
  12.  
  13.  
  14.     std::string s("HellothisisReverseWorldLab!"); //variable content
  15.  
  16.  
  17.     for (char & c : s)
  18.     {
  19.         //           YOU CAN CHANGE THE CONST CHAR TO ANYTHING STRING CHAR ETC..
  20.         std::cout << "const char " << "*" << " SMF" << std::rand() << " = " << "\"" << c << "\"" << ";" << "\n";
  21.                                              //YOU CAN CHANGE THE START LETTER AS YOU WISH.
  22.  
  23.         c = '*';
  24.     }
  25.     std::cin.get();
  26.     getchar();
  27.  
  28. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top