$ clang++ g5MswBc.png
ld: warning: ignoring file g5MswBc.png, file was built for unsupported file format ( 0x89 0x50 0x4E 0x47 0x0D 0x0A 0x1A 0x0A 0x00 0x00 0x00 0x0D 0x49 0x48 0x44 0x52 ) which is not the architecture being linked (x86_64): g5MswBc.png
Undefined symbols for architecture x86_64:
"_main", referenced from:
implicit entry/start for main executable
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Windows lacks the emotional capacity to print these characters. Their operating system and development environment is a heartless, joyless experience. Development with Mac OS and XCode is a more sensual, emotional experience that allows the engineer to really express themselves. They also automatically include headers for you to provide maximal pleasure.
can anyone explain what this does? i've been trying to figure it out but i don't know C well enough to understand all the struct and template stuff, specifically the book<hand down<knife and fork>> line.
It looks to be purposefully complicated, but I'm pretty sure it returns the evaluation of the dice function, which itself returns a random number. The rest is fluff.
yeah i thought that was the case, but i also figured the struct stuff might have been some seed manipulation stuff but i guess not. it looks like it also prints out a bunch of fruit but im not sure if it does anything fancy with them or just lists them.
i've used c++ quite a lot and i still don't really know the difference. i was under the impression it's something to do with c++ having a lot more standard libraries or something?
sign me the FUCK up ๐๐๐๐๐๐๐๐๐๐ good shit goเฑฆิ sHit๐ thats โ some good๐๐shit right๐๐th ๐ ere๐๐๐ rightโthere โโif i doโฦฝaาฏ soโmy sel๏ฝ ๐ฏ i say so ๐ฏ thats what im talking about right there right there (chorus: สณแถฆแตสฐแต แตสฐแตสณแต) mMMMMแทะ๐ฏ ๐๐ ๐ะO0ะเฌ ๏ผฏOO๏ผฏOะเฌ เฌ Ooooแตแตแตแตแตแตแตแตแต๐ ๐๐ ๐ ๐ฏ ๐ ๐ ๐ ๐ ๐๐Good shit
If you're working on a Russian or Arabic (or emoji, someday it'll happen) data set it can be useful to keep track of columns and such a bit easier. Transliteration can get confusing.
156
u/beasthacker Jun 21 '16
And yes, this compiles.
16
u/ILikeLenexa Jun 21 '16
Yeah, that's not verbose for the purpose of using "๐" and no other reason.
26
u/folkrav Jun 21 '16
I hate you
5
u/ghillerd Jun 21 '16
can anyone explain what this does? i've been trying to figure it out but i don't know C well enough to understand all the struct and template stuff, specifically the book<hand down<knife and fork>> line.
151
u/kerbals_must_die Jun 21 '16
The sad thing is that this code is more comprehensible than my current project at work
2
u/tajjet Jun 21 '16
No
define ๐ฌ "?also
define ๐ฒ ๐ต::rand()51
u/Rhed0x Jun 21 '16
There's a programming language that consists of emojis. I've forgotten the name.
51
u/GaianNeuron Jun 21 '16
We spent so long figuring out if we could, that we never stopped to ask if we should.
18
u/wilhil Jun 21 '16
Now we just need someone to make an auto obfuscation addon that does this!
17
u/HildredCastaigne Jun 21 '16
sign me the FUCK up ๐๐๐๐๐๐๐๐๐๐ good shit goเฑฆิ sHit๐ thats โ some good๐๐shit right๐๐th ๐ ere๐๐๐ rightโthere โโif i doโฦฝaาฏ soโmy sel๏ฝ ๐ฏ i say so ๐ฏ thats what im talking about right there right there (chorus: สณแถฆแตสฐแต แตสฐแตสณแต) mMMMMแทะ๐ฏ ๐๐ ๐ะO0ะเฌ ๏ผฏOO๏ผฏOะเฌ เฌ Ooooแตแตแตแตแตแตแตแตแต๐ ๐๐ ๐ ๐ฏ ๐ ๐ ๐ ๐ ๐๐Good shit
16
u/Polantaris Jun 21 '16
Shit. The title text from this is now real...
8
u/CaffeineExperiment Jun 21 '16
Unicode variables have their uses beyond jokes, I'm sure. I'll let you know if I ever find one. For now, there's this
https://github.com/adrianblp/taylor.swift/blob/master/taylor.swift
1
u/coiled_mahogany Jun 29 '16
http://codepad.org/5Ew6eEej
3
u/[deleted] Jun 21 '16
please no ... please.
3
u/roonskep Jun 21 '16
I lost it when I realised endl was a gun.
2
u/Ornim Jun 21 '16
Nope, Nope nooooooope!
1
u/Carudo Jun 21 '16
Future is here, finally.
1
u/[deleted] Jun 21 '16
/r/programminghorror/
1
u/cacingintegral Jun 21 '16
Reminds me of Glen Maddern
1
u/lrflew Jun 21 '16
In like 31, shouldn't "๐" be "๐"?
0
u/[deleted] Jun 22 '16
[deleted] โ view deleted comment
0
u/[deleted] Jun 21 '16
[deleted] โ view deleted comment