Advertisement
JustACodingStudent

Infinity Loop V3

Mar 11th, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1.  //Well I finally got it to my liking after all this time. I'll leave the other versions up so you can see my "creative process."
  2. #include <iostream>
  3. #include <string>
  4. using namespace std;
  5.  
  6. int main()
  7. {
  8.     string msg;
  9.     cout << "Enter message: ";
  10.     getline(cin, msg);
  11.     system("cls");
  12.     while(msg == msg)
  13.     {
  14.         cout << msg;
  15.     }
  16.     int x;
  17.     cin>>x;
  18.     return(0);
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement