SHARE
TWEET

Untitled

a guest Jul 23rd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. int number;
  2.  
  3. bool foo (void);
  4. bool footoo (void);
  5.      
  6. number++;
  7. return(rand()%2);
  8.      
  9. if (foo() && footoo())
  10. {
  11.     cout << "Two foo true!"
  12. }
  13.      
  14. bool b = foo();
  15. if(foobar() && b)
  16. {
  17.     // Stuff
  18. }
  19.      
  20. bool fooRet = foo();
  21. bool footooRet = footoo();
  22.  
  23. if (fooRet && footooRet)
  24. {
  25.     cout << "Two foo true!"
  26. }
  27.      
  28. bool fooIsTrue = foo();
  29. bool footooIsTrue = footoo();
  30. if(fooIsTrue && footooIsTrue)
  31.     // ...
  32.      
  33. if(somePtr != NULL && somePtr[0] == 1)
  34.      
  35. bool a = foo();
  36. bool b = footoo();
  37. if (a && b)
  38. {
  39.     cout << "Two foo true!"
  40. }
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