Let's write a C++ Program, one line per post

Let's write a C++ Program, one line per post.

int main() {

public static void main(String[] args) {}

goto 10

No rules specified so.... This text included plus kgkdndbxkkfjdbfbdkbdb

return 0; }

while (true) {

QDebug()

// TODO: everything

int i = 1; int * ptr; while (1) { ptr = malloc(i); i++; }

printf("%s\n", getpid() > 1 ? NULL : NULL);

import aids

hackNSA(WASHINGTON, "p4ssw0rd");

std::cout

int * just = NULL; cout

thats two lines kys

if (user.thinks(statements == lines)) user.isIdiot();

if (user.thinks(two_lines != two_lines) || !user.understands(statements)) user.hasNoFutureInThisArea();

Instal {gentoo}

You didn't include anything...

>needing headers
Nice bloat, Pajeet.

int i = 0 // no semicolon :^)

>using the smiley with a carat nose

>using the smiley with a carat nose

system("shutdown -s")

whats the difference between c and c++

Enjoy your lack of I/O.

int theDifferenceBetweenCandCPlusPlus(int c)
{
return c - c++;
}

the iteration operator ... badum tsss

your program fails in all inputs, giving 0 for any input, rofl.

better stop being cheeky and answer my question.

std::cout

Python hijacking the thread:

def coolfunction(x,y,z):

>your program fails in all inputs, giving 0 for any input, rofl.
How does that count as "failing"?

int* p = nullptr;
int ayy = *p;

return 0;