Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //REVERSE WORLD LAB..
- #include <iostream>
- #include <ctime>
- int main() {
- srand(time(0));
- std::string s("HellothisisReverseWorldLab!"); //variable content
- for (char & c : s)
- {
- // YOU CAN CHANGE THE CONST CHAR TO ANYTHING STRING CHAR ETC..
- std::cout << "const char " << "*" << " SMF" << std::rand() << " = " << "\"" << c << "\"" << ";" << "\n";
- //YOU CAN CHANGE THE START LETTER AS YOU WISH.
- c = '*';
- }
- std::cin.get();
- getchar();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement