Nagisa_Fawkes Posted April 16, 2014 Posted April 16, 2014 Can you decipher this code and tell me what it does? #include<stdio.h> #include<stdlib.h> int ver(int thk, int dif){ char verf; printf("\nMy guess: %d\nIs that right? \n", thk); verf = getch(); if(verf == 'b') return thk + dif; if(verf == 'a') return thk - dif; if(verf == 'p'){ printf("\n\nHurraaay! I guessed right!\n"); exit(0); } } int main(void) { int thk; thk = 500; thk = ver(thk, 250); thk = ver(thk, 125); thk = ver(thk, 63); thk = ver(thk, 32); thk = ver(thk, 16); thk = ver(thk, ; thk = ver(thk, 4); thk = ver(thk, 2); thk = ver(thk, 1); printf("\n\nDon't lie to me... I know it's %d", thk); getch(); return 0; } Quote
Kaguya Posted April 16, 2014 Author Posted April 16, 2014 Do you cut your own hair by yourself? Indeed I do. Can you decipher this code and tell me what it does? #include<stdio.h> #include<stdlib.h> int ver(int thk, int dif){ char verf; printf("\nMy guess: %d\nIs that right? \n", thk); verf = getch(); if(verf == 'b') return thk + dif; if(verf == 'a') return thk - dif; if(verf == 'p'){ printf("\n\nHurraaay! I guessed right!\n"); exit(0); } } int main(void) { int thk; thk = 500; thk = ver(thk, 250); thk = ver(thk, 125); thk = ver(thk, 63); thk = ver(thk, 32); thk = ver(thk, 16); thk = ver(thk, ; thk = ver(thk, 4); thk = ver(thk, 2); thk = ver(thk, 1); printf("\n\nDon't lie to me... I know it's %d", thk); getch(); return 0; } Not going to look at it. Quote
Kaguya Posted April 16, 2014 Author Posted April 16, 2014 How long have you been a princess and what's the best part about it?~~~ It's been kinda forever. Don't know the exact date. The best part about it is bossing people around. Quote
Kaguya Posted April 16, 2014 Author Posted April 16, 2014 Just who do you boss around? Lots of people. And some rabbits as well. Quote
Yukiru Posted April 16, 2014 Posted April 16, 2014 How many times have you re-read F/SN? Is it your favorite TM work? If not which one is it? Quote
Nagisa_Fawkes Posted April 16, 2014 Posted April 16, 2014 Do you enjoy sweets? If so, what's your favorite dessert? Quote
Kaguya Posted April 16, 2014 Author Posted April 16, 2014 How many times have you re-read F/SN? Is it your favorite TM work? If not which one is it? I've read it about 3 times. I actually liked Mahoutsukai no Yoru better than Fate- Hell, I even liked Tsukihime better than it. Fate is above KnK, though. Do you enjoy sweets? If so, what's your favorite dessert? I love sweets, though I don't eat them very often. I like pudding. Quote
Zakamutt Posted April 16, 2014 Posted April 16, 2014 @code Hmm, won't that break if you type something other than a, b or p for getch? Also, looks like you can do a binary search with it... except wait, that's just much mislead. It actually fools you into thinking you're making meaningful choices, but in the end you will always be "right". Quote
Yukiru Posted April 16, 2014 Posted April 16, 2014 Why the dislike for KnK? Is it because of the lack of Roll's? Quote
Kaguya Posted April 16, 2014 Author Posted April 16, 2014 Why the dislike for KnK? Is it because of the lack of Roll's? I don't dislike it, I just don't like it as much. That's because no VN. Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 What is your opinion on France? Neutral. I don't have enough knowledge about it to tell you anything in detail. Quote
Aniki Posted April 17, 2014 Posted April 17, 2014 Then would you be interested in being locked forever in France? Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 Then would you be interested in being locked forever in France? ...I did just say I don't have any knowledge of france. I don't know. Quote
FruitsPunchSamurai Posted April 17, 2014 Posted April 17, 2014 What would you do if you saw the rapper mentioned in this article screaming and running around with blood spewing out from his crotch right in front of you? Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 What would you do if you saw the rapper mentioned in this article screaming and running around with blood spewing out from his crotch right in front of you? I'd ignore him. Would probably get away from him as well. What if you met your own clone? I'd wonder why they cloned me of all people. Would probably just leave the clone be, I hate dealing with people like myself. Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 How does this picture make you feel? It makes me feel like people are really taking doge overboard... Quote
Yukiru Posted April 17, 2014 Posted April 17, 2014 I wanted to revive your old AMA, but it got merged together with your fanfics, and I couldn't bring myself to revive it, Why is it that I did not revive that thread? Quote
Aniki Posted April 17, 2014 Posted April 17, 2014 If anyone would declare war against your cult, how would you respond? Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 I wanted to revive your old AMA, but it got merged together with your fanfics, and I couldn't bring myself to revive it, Why is it that I did not revive that thread? Because the whole thing became too much of a mess. If anyone would declare war against your cult, how would you respond? I'd take the chance to advertise, though we would probably not engage in battle. Besides, we have three mods and tons of fuwa veterans- the thing is not a cult about me anymore Quote
FruitsPunchSamurai Posted April 17, 2014 Posted April 17, 2014 What would you do if you came home one day and saw your house or whatever you live in on fire? Quote
Kaguya Posted April 17, 2014 Author Posted April 17, 2014 What would you do if you came home one day and saw your house or whatever you live in on fire? Me, going out? That's preposterous! Well, I guess I do go out for hiking sometimes. I'd just go to a hotel until I bought everything I lost back. I'd also wait until the repairs were finished, but it probably wouldn't affect me much. Quote
Aniki Posted April 17, 2014 Posted April 17, 2014 If you gained a time machine, what would be the first thing you would do with it? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.