Guest User

Untitled

a guest
Feb 26th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. this works
  2.  
  3. #include <stdio.h>
  4. int main (){
  5. bool quit= false;
  6. int x =0;
  7. while(!quit){
  8. if(x<3000000){
  9. printf("something");
  10. x++;
  11. }
  12. }
  13. return 0;
  14. }
  15.  
  16.  
  17.  
  18. this doesnt
  19.  
  20. #include <stdio.h>
  21. int main (){
  22. bool quit= false;
  23. int x =0;
  24. while(!quit){
  25. if(x<10){
  26. printf("something");
  27. x++;
  28. }
  29. }
  30. return 0;
  31. }
Advertisement
Add Comment
Please, Sign In to add comment