Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.45 KB | None | 0 0
  1. int main()
  2. {
  3.     struct girl {
  4.         int happy_level;
  5.         char next_action(100);
  6.         int execute_action();
  7.         int render_action();
  8.     }
  9.     girl Susan = new girl;
  10.     Susan.happy_level -= 1000000000;
  11.     Susan.next_action = "Jump off cliff";
  12.     if(Susan.execute_action())  {
  13.         Susan.render_action();
  14.     } else {
  15.         cout<<"The action could not be executed. Susan's life will now become hell."<<endl;
  16.         while(1) {
  17.             Susan.happy_level -= 1;
  18.         }
  19.     }
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement