Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cxfhvxgkcf-56:7

Pages: 1 ... 211212213 214215 ... 517
6361
The Flood / more code porn
« on: April 09, 2015, 04:35:32 PM »
Code: [Select]
#include <stdio.h>
#include <stdlib.h>

typedef int boolean;
#define TRUE 1
#define FALSE 0

typedef struct stacknode {
int data;
struct stacknode *next;
} *stack;

void init_stack(stack *);

boolean is_empty(stack);

boolean is_full(void);

void Push(stack *, int);

int Pop(stack *);

void print_stack(stack);

int main() {

stack top;
int selection, data, Popped;

 init_stack(&top);

while (selection != 4) {
printf("1: Push\n");
printf("2: Pop\n");
printf("3: Print\n");
printf("4: Quit\n");
scanf("%d", &selection);

switch (selection) {
case 1: if (!is_full()) {
printf("What would you like to Push onto the stack?\n");
scanf("%d", &data);
Push(&top, data);
} else {
printf("Stack overflow!\n");
}
break;

case 2: if (!is_empty(top)) {
Popped = Pop(&top);
printf("The Popped node is %d\n", Popped);
} else {
printf("Stack underflow!\n");
}
break;
case 3: if (!is_empty(top))
print_stack(top);
else {
printf("Stack underflow!\n");
}
break;
case 4: return 0;

default: printf("You must enter a valid menu selection\n");
}
    }

}

void init_stack(stack *s) {
 (*s) = NULL;
}

boolean is_full(void) {
 stack temp;
 temp = (stack) malloc (sizeof(struct stacknode));
 if (temp == NULL)
 return TRUE;
 else {
 free (temp);
 return FALSE;
 }
}

boolean is_empty(stack s) {
 if (s == NULL)
 return TRUE;
 else {
 return FALSE;
  }
}
void Push(stack *s, int x) {
 stack temp;
 temp = (stack) malloc(sizeof(struct stacknode));
 temp -> data = x;
 temp -> next = (*s);
 (*s) = temp;
}

int Pop(stack *s) {
 stack temp;
 int data_Popped;
 temp = *s;
 data_Popped = temp->data;
 *s = temp->next;
 free (temp);
 return data_Popped;
}

void print_stack(stack s) {
 if (!is_empty(s)){
 printf("%d\n", s->data);
 print_stack(s->next);
  }
}

something something LOL STEM MASTER RACE something something

6362
The Flood / Re: the times have changed
« on: April 09, 2015, 03:47:44 PM »
Quote
Alice Cooper in Chains

no just kill yourself

6363
The Flood / Re: Just tried Chick-Fil-A. AMA me anything
« on: April 09, 2015, 03:46:10 PM »
LOL YOU ARE SUPPORTING HOMOSEXUAL DEATH CAMPS DEEP WITHIN THE WOODS OF ALABAMA WITH THE MONEY YOU USED TO BUY THAT CHICKEN

HOW DOES IT FEEL TO BETRAY YOUR FAGGOT FRIENDS?

XDDDDDDD

6364
The Flood / Re: Now YOUR honest opinion of ME
« on: April 09, 2015, 03:15:49 PM »
questionable tastes in some things but objectively the best taste in jazz

6365
The Flood / Re: Must-watch Documentaries
« on: April 09, 2015, 03:14:10 PM »
Zeitgeist

6366
Oh cool. I've always wanted to invade visit London.
I too have longed to enslave meet our Anglo friends.

6367
The Flood / Re: Small boobs vs large boobs
« on: April 09, 2015, 12:30:03 PM »
I love this thread

6368
Lol prepare your anus for some freedom britbongs.

This Summer on Fox

The Colonies Strike Back

6369
The Flood / Re: Post ITT for my opinion of you
« on: April 09, 2015, 08:21:13 AM »
Sex?

6370
The Flood / Re: Have you ever taken a dump on your own chest?
« on: April 09, 2015, 02:38:39 AM »
nothing like a hot chest dump

6371
The Flood / Re: Admin Beta Thread.
« on: April 09, 2015, 02:07:15 AM »
cheat get off your alt

6372
The Flood / Re: NEW TYLER THE CREATOR
« on: April 09, 2015, 12:51:03 AM »
aw shit son, i'll be coppin that

6374
Serious / Re: The reason that Republicans are against gays.
« on: April 08, 2015, 10:09:56 PM »
>being a communist

6375
░░░░░░░░░░░░░░░▄▀▄░░░░░░░░░░░░░░░
░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░
░░░░░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀█░░░░░░░░░░░░░
░░░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░▄▀▄░░░░░░░░░
░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░▄▀( ͡° ͜ʖ ͡°▀▄░░░░░░░
░░░░░░░█▀▄( ͡° ͜ʖ ͡°)▀█░▄▀( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°▀▄░░░░░
░░░▄▀▄░▀▄░▀▄( ͡° ͜ʖ ͡°)▀( ͡° ͜ʖ ͡°)▄█▄( ͡° ͜ʖ ͡°)▀▄░░░
░▄▀░░░▀▄░▀▄░▀▄░( ͡° ͜ʖ ͡°)▄▀░█░▀▄( ͡° ͜ʖ ͡°)▀▄░
░█▀▄( ͡° ͜ʖ ͡°)▀▄░█▀ ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)▀█░▀▄░▀▄░▄▀█░
░▀▄░▀▄( ͡° ͜ʖ ͡°)▀( ͡° ͜ʖ ͡°)▄█▄( ͡° ͜ʖ ͡°)▀▄░▀▄░█░▄▀░
░░░▀▄░▀▄░( ͡° ͜ʖ ͡°)▄▀░█░▀▄( ͡° ͜ʖ ͡°)▀▄░░▀█▀░░░
░░░░░▀▄░▀▄░▄▀░▄▀░█▀( ͡° ͜ʖ ͡°)▄▀█░░░░░░░
░░░░░░░▀▄░█░▄▀░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░░░░░░░
░░░░░░░░░▀█▀░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░░░░░░░░░
░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░
░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░
░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░


HAIL SATAN

6376
╚═( ͡° ͜ʖ ͡°)═╝
╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
..╚═(███)═╝
.╚═(███)═╝
╚═(███)═╝
.╚═(███)═╝
..╚═(███)═╝
…╚═(███)═╝
…╚═(███)═╝
…..╚(███)╝
……╚(██)╝
………(█)
……….*

6377
убить себя

6378
LITERAL FUCKING CANCER
welllikeyou'reaCUNT

6379
but muh epilepsy

6380
this shit right here is cool

6382
wut
da fuq
like what even is this shit?



why does this shit even exist

lolololol

ayy lmao

  • oh
  • my
  • fucking
  • god
  • get
  • no
  • scoped

6383
I don't get it.
Mark Wahlberg really hates Vietnamese people

Quote
Eventually, a concerned net citizen brought Wahlberg's chequered past to the attention of /tv/, the 4chan board which, in theory is dedicated to television and film, but in practice is actually dedicated to ogling the feet of underage actresses, heaping scorn on Internet reviewers and, every now and then, sperging about Game of Thrones and Doctor Who.

Fa/tv/irgins were only too quick to seize upon Mark's ingenious and hilarious coining of the phrase 'Vietnam fucking shit!' and were soon bellowing out the phrase all over the board, joyously calling one another 'Vietnam fucking shits' and telling eachother to get out of their respective ways, before firing up their pirated copies of Photoshop to create amusing images of Marky Mark menacing Vietnamese people.



6384
The Flood / Re: tfw you type das on your phone
« on: April 08, 2015, 09:10:36 PM »
You have no idea how awkward that makes sex RP'ing.
no I do

i rp'd with someone who used the same first name as my sister
is your sister hot?

6385
The Flood / Re: tfw you type das on your phone
« on: April 08, 2015, 08:47:45 PM »
DAD B00TICUS?

6386
The Flood / Re: tfw you type das on your phone
« on: April 08, 2015, 08:35:22 PM »
DAD B00T X2?

6387
The Flood / Re: No wonder he was only president for one term
« on: April 08, 2015, 08:25:30 PM »
Senior was a great president

6388
The Flood / Re: Chat Thread (Wednesday — Whenever)
« on: April 08, 2015, 08:04:40 PM »
FUCKING KILL YOURSELVES

6389
The Flood / ALLAH MOHAMMED ACKBAR BLAHALAH
« on: April 08, 2015, 08:04:11 PM »
No.

6390
Serious / Re: Let's discuss why Rand Paul is so fucking great
« on: April 08, 2015, 08:03:34 PM »
i thought this thread was about rand paul

Pages: 1 ... 211212213 214215 ... 517