Advertisement
Guest User

Untitled

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