Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[C++] Your Projects
#4
(03-17-2012, 03:48 PM)noob007 Wrote: I say we discuss with actual code :3

That would make things more interesting.

Code:
#include <iostream>

char cake[] = "I am a piieee!!!";

int main(void) {
std::cout << 5[cake]; // WHAT!?!?!?
return 1337;
}

wai does that work
Yus, of course it works.

Oh wait, you gave me a great forum game idea! Someone posts a random snippet of code, any programming language, and the next poster replies if it works or not.

No compiling the code though.
[Image: 33.png]
Reply


Messages In This Thread
[C++] Your Projects - by enumeration - 03-17-2012, 07:19 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)