• CIPWTTKT&GC v0x21 (v33): Fuck Titles Edition
    67,352 replies, posted
[QUOTE=Protocol7;43526079]It is valid, it just always returns true. [/QUOTE] It would be true if it's intended as a modifier statement to change the value of potato, but it's not the case in this context.
[QUOTE=B!N4RY;43526112]It would be true if it's intended as a modifier statement, but it's not in this context.[/QUOTE] But you said it isn't valid. It would compile and run under C++ just with unintended results.
Fine if (potato=1) ? [editline]13th January 2014[/editline] Sheesh was just trying to make a joke
[QUOTE=PollytheParrot;43526127]Fine if (potato=1) ? [editline]13th January 2014[/editline] Sheesh was just trying to make a joke[/QUOTE] Still not correct, try again :v:
[QUOTE=PollytheParrot;43526127]Fine if (potato=1) ? [editline]13th January 2014[/editline] Sheesh was just trying to make a joke[/QUOTE] This wouldn't even compile! >:C
[QUOTE=PollytheParrot;43526127]Fine if (potato=1) ? [editline]13th January 2014[/editline] Sheesh was just trying to make a joke[/QUOTE] True, when converted to an integer, is 1, so it's the same thing. Also, I believe any non-zero value evaluates as true.
Why is it that there are no decent, F/OSS live video mixers available? vMix is the closest I can find but that's $59AUD going up to $350AUD if you want stings or more inputs, and the only other stuff I can find is either WAY too expensive, or is simply not user friendly enough. Trying to find a mixing solution for a LAN party so we can overlay titles and transition and stuff, but with more control than what something like raw OBS provides
Argh help me, how would one code a short joke then?
[QUOTE=PollytheParrot;43526203]Argh help me, how would one code a short joke then?[/QUOTE] Why don't you read a book pal? I refuse to laugh at any programming jokes unless the code is 100% correct!
[QUOTE=elevate;43526213]Why don't you read a book pal? I refuse to laugh at any programming jokes unless the code is 100% correct![/QUOTE] If it doesn't compile, it's not worth a laugh. >:C
[QUOTE=elevate;43526213]Why don't you read a book pal? I refuse to laugh at any programming jokes unless the code is 100% correct![/QUOTE] Can I read any book? Or does it need to be about programming?
[QUOTE=PollytheParrot;43525971]if (potato=true) { x="I have a potato"; }[/QUOTE] Assuming potato is a bool; bool potato; string x; if (potato == true) { x = "I have a potato"; }
[QUOTE=Killowatt;43526421]if (potato == true)[/QUOTE] Still not a valid statement :v:
[QUOTE=B!N4RY;43526431]Still not a valid statement :v:[/QUOTE] Again, still valid, just always false. :v:
var potato = true, x = potato? "I have a potato":""; //#rekt [t]http://i.imgur.com/GBqcJRX.png[/t]
[QUOTE=B!N4RY;43526431]Still not a valid statement :v:[/QUOTE] [img]http://i.imgur.com/IZzJhIS.png[/img]
[QUOTE=Killowatt;43526490][img]http://i.imgur.com/IZzJhIS.png[/img][/QUOTE] I've never tested it in C# before, but Java previously wouldn't let you do this (but now apparently can as well after just looking it up). Most people that I know were taught to always use "if(potato)" and "if(!potato)" instead of using logical operators when comparing booleans because it's more professional looking.
Now we all have potatoes! Hahaha my plan worked!!! [IMG]http://i.somethingawful.com/forumsystem/emoticons/emot-unsmigghh.gif[/IMG] [IMG]http://blogs.mcall.com/.a/6a00d8341c4fe353ef017743f66955970d-pi[/IMG]
Potatoes.Clear();
Nerds.
del potato
[QUOTE=MIPS;43524543]Every backup is a show. Turns out the spare drive spun down and went to sleep YESTERDAY and instead of failing and notifying me the backup utility just sat there waiting for the drive to wake up.[/QUOTE] On the next episode of "Pentium's shit is breaking left and right" [editline]13th January 2014[/editline] Granted it's probably all 20+ years old [editline]13th January 2014[/editline] That drive was an 8mb drive
[QUOTE=garychencool;43526687]del potato[/QUOTE] sudo rm potato -f /
[QUOTE=latin_geek;43526874]sudo rm potato[/QUOTE] can't forget the -rf flags oh there you go
[code] potate N P R !,"Do you have a potate? (Integer) ", P I +P\1'=P !,"Not fucking valid. Try again.",! G potate I P=1 W "You have a potate." I P<1 W "You have a potate." I P>1 W "You lack a potate. very sad." K P Q [/code] S[CRUBS]
del flash:potato
man if I had a half hour I would write it in X86 assembly just to fuck with you all
Cipwicket v0 potatoe
My friend got an iPad Air for Christmas so he's waiting for a teacher to take it away so he can set off the alarm via his iPhone.
[code]$s=str_split("492068617665206120706f7461746f2e","2");for($i=0;$i<sizeof($s);$i++)echo chr(hexdec($s[$i]);[/code] i can't even make it more complicated :suicide:
Sorry, you need to Log In to post a reply to this thread.