#bruh

18 messages · Page 1 of 1 (latest)

ocean snow
#

int main(){
main();
}

rocky condor
#

this is undefined behavior in c++, use c if you want this

ocean snow
#

Wait wtf would happen

heavy dust
#

technically ub but it'll be fine on any sane compiler

heavy dust
#

Or get optimized away because that's legal too

rocky condor
proven pivot
#

This is actually something known as user optimization

#

You see, it’s only a matter of time before your program segfaults, gets caught in a loop, or just plain doesn’t work. By writing code like this you speed this process up for the computer and make it more efficient trolol

short grotto
#

are you takking about my dad

#

i dont do drugs lol

#

he did

azure compass
heavy dust
azure compass
#

I'm not sure if I can find the question again but it was a menu system and they were calling main instead of putting it into a loop

solemn inletBOT
#

@ocean snow

This question thread is being automatically closed. If your question is not answered feel free to bump the post or re-ask. Take a look at !howto ask for tips on improving your question.

heavy dust
#

Sorry I fucked up