Fedorable.
Kheldragar nominated for Most Cringeworthy Post 2015Kheldragar wrote:
Fedorable.
You know, mate, I still miss that smoking Touhou avatar. Plenty of people here will agree with me that you should have kept it.Aurani wrote:
On a more relevant topic:
Congrats Boatman, you finally changed that avatar! I quite disliked it, but you kept it for so long. =(
FEDORABLE.Trash Boat wrote:
Kheldragar nominated for Most Cringeworthy Post 2015Kheldragar wrote:
Fedorable.You know, mate, I still miss that smoking Touhou avatar. Plenty of people here will agree with me that you should have kept it.Aurani wrote:
On a more relevant topic:
Congrats Boatman, you finally changed that avatar! I quite disliked it, but you kept it for so long. =(
i was hoping for something nice, but i was disappointed:(Frostei wrote:
"From the creators of [insert name here] comes a tale of one psychotic bitch's quest for sexual gratification. She will stop at nothing to achieve her goal, even if it means raping her victims to death!"
Dude what
The while loop is seperate from the ascent loop but you got that right with how ascent works.piruchan wrote:
I tried looking for the meaning of "ascent" but found nothing.Granger wrote:
Am i retarded or something?let x = 5;What is the value of x after the code has been executed?
while(x<10){x++;}
ascent(i in 6..23){
x = i/2;
}
if(x==(23/2)){x = 25;}else{x = 23;}I'm probably wrongAssuming thatascent(i in 6..23)means the value of i goes up from 6, 7, 8, ... 23 for each loop, then the final value of i would be 10 because x goes from 5 to 9.
First loop: x=5, i=6
Second loop: x=6, i=7
Third loop: x=7, i=8
Fourth loop: x=8, i=9
Fifth loop: x=9, i=10
The loop then stops because the condition is x<10.
If this is true than x won't reach 23/2, so the value of x after the code is executed would be 23.
25Granger wrote:
The while loop is seperate from the ascent loop but you got that right with how ascent works.
I think that we could ignore the while loop in its entirety actually, as the ascent loop has no condition regarding x, it just runs untill i=23 starting with i=6 and incrementing i by one with each loop. I think.
#include <iostream>
int main() {
int x = 5;
while (x < 10) {
x++;
}
for (int i = 6; i <= 23; i++) {
x = i / 2;
}
if (x == (23 / 2)) {
x = 25;
}
else {
x = 23;
}
std::cout << x << std::endl;
system("pause");
return 0;
}
Amen to that, my Islamic brother. :VIppE wrote:
Vegetarianism is a mental disorder.
Dunno. Maybe. The guide also called them for loops once. http://sparen.github.io/ph3tutorials/ph3u1l5.html#sub4IppE wrote:
Is the ascent thing some self-made function, since there is absolutely no mention of such thing existing in C.Granger wrote:
I dont know if its outdated, but the quiz comes from the same quiz i have my entire (small) knowledge about C from.
Braian aint mein commander. Heidern is.Aurani wrote:
Stop leading proper discussions and continue circlejerking like Brian commands.
let x = 5;If you do the above, x will start at 0, but it will be set to the value of i, which is 0. As the loop continues, x will be set to 1, 2, 3, and eventually, 7. After it is set to 7, the local variable i is set to 8, and the loop ends, leaving x as 7. In total, the code loops 8 times, and i has values from 0 to 7.
ascent(i in 0..8){
x=i;
}
Trash Boat wrote:
Braian aint mein commander. Heidern is.Aurani wrote:
Stop leading proper discussions and continue circlejerking like Brian commands.
Oh yeah apparently they're specific to that danmaku game engine thing. Normally people just use for loops to do stuff like that.Granger wrote:
Dunno. Maybe. The guide also called them for loops once. http://sparen.github.io/ph3tutorials/ph3u1l5.html#sub4
Oh hello new page.
Well thats more for when you need to how some function works, here is a pretty good site for learning basics http://en.wikibooks.org/wiki/C_ProgrammingGranger wrote:
Hmm, this reference thing looks complicated... still ill bookmark it. It cant hurt, can it?
Okay thank you.IppE wrote:
Well thats more for when you need to how some function works, here is a pretty good site for learning basics http://en.wikibooks.org/wiki/C_ProgrammingGranger wrote:
Hmm, this reference thing looks complicated... still ill bookmark it. It cant hurt, can it?
Well, i meant complicated more as... it throws a lot of new terms at you you dont understand yet, so overall it gets confusing for you.Zelda wrote:
If complicated throws you off, I'd say you're trying to learn the wrong thing.
Sometimes I feel like eitherTrash Boat wrote:
Same here. But Android tablets, right?
Can a man not offer another man bloody deep fried ice cream out of sheer friendliness? Do I have to have some ulterior motives to share something with you?piruchan wrote:
I never get the idea behind that, but sure.
Just calm down, ok? GeezHika wrote:
Sometimes I feel like-
Are you literally as dumb as a sack of rocks ?Trash Boat wrote:
Same here. But Android tablets, right?
IppE wrote:
Phil Collins
literally who?silmarilen wrote:
phil collins is pretty cool
Xilver told me he was my biggest fan a few days agosilmarilen wrote:
what do?
Fast food chains (like most products anyway) use different recipes depending on country; besides, it's mostly personal taste anyway.piruchan wrote:
Is Burger King good?
There are no McDonald's near me and I have a sudden craving for hamburger.
Fuck both of those, Pljeskavica is 500 grams of pure heart attack. :Vpiruchan wrote:
Is Burger King good?
There are no McDonald's near me and I have a sudden craving for hamburger.
And that's why you are in everybody's blacklistKappa FrankerZ wrote:
-HEAVILY CENSORED-
You are asking the wrong question. You should have said this instead: Have you ever tried to fit a CUBE peg in a round hole, sonny?Kheldragar wrote:
Have you ever tried to fit a square peg in a round hole, son?
Whenever you feel like it.B1rd wrote:
I wonder when my status will be upgraded from newfag to middlefag.