Advertisement
cyphric

Untitled

Jul 2nd, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. #include <iostream>
  2. #include <bitset>
  3.  
  4. int main(){
  5. std::bitset<4> tut; //0000
  6.  
  7. int i;
  8.  
  9. std::cout << "Please enter the code: " << std::endl;
  10. std::cin >> i;
  11.  
  12. if (i == 1234){
  13. tut.set(2, 1);
  14. std::cout << tut << std::endl;
  15. }
  16. else
  17. std::cout << "You're a cunt harry" << std::endl;
  18.  
  19. if (tut[2] == 1)
  20. std::cout << "Fuck off jigger" << std::endl;
  21.  
  22. system("Pause");
  23. tut.reset(2);
  24. return 0;
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement