zprospero Posted February 27, 2010 Share Posted February 27, 2010 Syntax Error! Missing "to" in set command. Default action being taken. Set zprospero_is_winner to 1 Error corrected. Initializing smiley... http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif End of line. Link to comment Share on other sites More sharing options...
AncientSpaceAeon Posted February 27, 2010 Share Posted February 27, 2010 Downloading . . . 100% Progress File : Win.exe - - - 1 MB-------------------------------------------------Finished Link to comment Share on other sites More sharing options...
MonsterHunterMaster Posted February 27, 2010 Share Posted February 27, 2010 #include <stdio.h>#include <stdlib.h> int main(void){ int i=0; gets(s);sscanf(s, "%d", &i)if(i=1){ printf("MonsterHunterMaster wins!");}else { printf("No matter what number you type in, MonsterHunterMaster always wins!!")} return 0;system ("PAUSE"); } Link to comment Share on other sites More sharing options...
zprospero Posted February 27, 2010 Share Posted February 27, 2010 Into MHM's little program there: "1/0" Error! MHM is losing! 1 is 0, 0 is 1... *computer explodes* New computer delivered. Has a mysterious silver Z painted on it. #include<iostream>using namespace std; bool zprospero_wins = 1; void main() { do{ assert(zprospero_wins); }while(zprospero_wins == 1) ;above is infinite loop so it will never reach the below;and if it somehow does your computer faces the same;fate as MHM'szprospero_wins = 1/0; } http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif Link to comment Share on other sites More sharing options...
MonsterHunterMaster Posted February 27, 2010 Share Posted February 27, 2010 No, I win! Link to comment Share on other sites More sharing options...
zprospero Posted February 27, 2010 Share Posted February 27, 2010 I win! http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif Link to comment Share on other sites More sharing options...
MonsterHunterMaster Posted February 27, 2010 Share Posted February 27, 2010 MUHAHAHAHAHA... Link to comment Share on other sites More sharing options...
zprospero Posted February 27, 2010 Share Posted February 27, 2010 No, it's "Bwa ha ha ha ha ha!" That's how Bowser from the Mario games laughs. I win! http://i816.photobucket.com/albums/zz84/zprospero/zpro.gif Link to comment Share on other sites More sharing options...
slygothmog Posted February 27, 2010 Share Posted February 27, 2010 Just thought i'de pop by and say, I WIN! :biggrin: Link to comment Share on other sites More sharing options...
MonsterHunterMaster Posted February 27, 2010 Share Posted February 27, 2010 Muhahahahaha! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now