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
« on: April 09, 2015, 04:35:32 PM »
#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
« on: April 09, 2015, 03:47:44 PM »
Alice Cooper in Chains no just kill yourself
6363
« 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
« on: April 09, 2015, 03:15:49 PM »
questionable tastes in some things but objectively the best taste in jazz
6365
« on: April 09, 2015, 03:14:10 PM »
Zeitgeist
6366
« on: April 09, 2015, 12:35:34 PM »
Oh cool. I've always wanted to invade visit London.
I too have longed to enslave meet our Anglo friends.
6367
« on: April 09, 2015, 12:30:03 PM »
I love this thread
6368
« on: April 09, 2015, 12:29:07 PM »
Lol prepare your anus for some freedom britbongs.
This Summer on Fox
The Colonies Strike Back
6369
« on: April 09, 2015, 08:21:13 AM »
Sex?
6370
« on: April 09, 2015, 02:38:39 AM »
nothing like a hot chest dump
6371
« on: April 09, 2015, 02:07:15 AM »
cheat get off your alt
6372
« on: April 09, 2015, 12:51:03 AM »
aw shit son, i'll be coppin that
6373
« on: April 08, 2015, 10:22:24 PM »
NIGGER [/color][/size][/font]
QFF
6374
« on: April 08, 2015, 10:09:56 PM »
>being a communist
6375
« on: April 08, 2015, 10:01:39 PM »
░░░░░░░░░░░░░░░▄▀▄░░░░░░░░░░░░░░░ ░░░░░░░░░░░░░▄▀░░░▀▄░░░░░░░░░░░░░ ░░░░░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀█░░░░░░░░░░░░░ ░░░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░▄▀▄░░░░░░░░░ ░░░░░░░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░▄▀( ͡° ͜ʖ ͡°▀▄░░░░░░░ ░░░░░░░█▀▄( ͡° ͜ʖ ͡°)▀█░▄▀( ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°▀▄░░░░░ ░░░▄▀▄░▀▄░▀▄( ͡° ͜ʖ ͡°)▀( ͡° ͜ʖ ͡°)▄█▄( ͡° ͜ʖ ͡°)▀▄░░░ ░▄▀░░░▀▄░▀▄░▀▄░( ͡° ͜ʖ ͡°)▄▀░█░▀▄( ͡° ͜ʖ ͡°)▀▄░ ░█▀▄( ͡° ͜ʖ ͡°)▀▄░█▀ ͡° ͜ʖ ͡°)( ͡° ͜ʖ ͡°)▀█░▀▄░▀▄░▄▀█░ ░▀▄░▀▄( ͡° ͜ʖ ͡°)▀( ͡° ͜ʖ ͡°)▄█▄( ͡° ͜ʖ ͡°)▀▄░▀▄░█░▄▀░ ░░░▀▄░▀▄░( ͡° ͜ʖ ͡°)▄▀░█░▀▄( ͡° ͜ʖ ͡°)▀▄░░▀█▀░░░ ░░░░░▀▄░▀▄░▄▀░▄▀░█▀( ͡° ͜ʖ ͡°)▄▀█░░░░░░░ ░░░░░░░▀▄░█░▄▀░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░░░░░░░ ░░░░░░░░░▀█▀░▄▀( ͡° ͜ʖ ͡°)▄▀░▄▀░░░░░░░░░ ░░░░░░░░░░░░░█▀▄░▄▀░▄▀░░░░░░░░░░░ ░░░░░░░░░░░░░▀▄░█░▄▀░░░░░░░░░░░░░ ░░░░░░░░░░░░░░░▀█▀░░░░░░░░░░░░░░░
HAIL SATAN
6376
« on: April 08, 2015, 09:58:30 PM »
╚═( ͡° ͜ʖ ͡°)═╝ ╚═(███)═╝ ╚═(███)═╝ .╚═(███)═╝ ..╚═(███)═╝ …╚═(███)═╝ …╚═(███)═╝ ..╚═(███)═╝ .╚═(███)═╝ ╚═(███)═╝ .╚═(███)═╝ ..╚═(███)═╝ …╚═(███)═╝ …╚═(███)═╝ …..╚(███)╝ ……╚(██)╝ ………(█) ……….*
6377
« on: April 08, 2015, 09:55:14 PM »
убить себя
6378
« on: April 08, 2015, 09:45:55 PM »
LITERAL FUCKING CANCER
welllikeyou'reaCUNT
6379
« on: April 08, 2015, 09:41:26 PM »
but muh epilepsy
6380
« on: April 08, 2015, 09:38:01 PM »
this shit right here is cool
6381
« on: April 08, 2015, 09:33:28 PM »
6382
« on: April 08, 2015, 09:30:38 PM »
wutda fuqlike what even is this shit? |
|
|
why does this shit even exist lololololayy lmao- oh
- my
- fucking
- god
- get
- no
- scoped
6383
« on: April 08, 2015, 09:24:24 PM »
I don't get it.
Mark Wahlberg really hates Vietnamese people 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
« 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
« on: April 08, 2015, 08:47:45 PM »
DAD B00TICUS?
6386
« on: April 08, 2015, 08:35:22 PM »
DAD B00T X2?
6387
« on: April 08, 2015, 08:25:30 PM »
Senior was a great president
6388
« on: April 08, 2015, 08:04:40 PM »
FUCKING KILL YOURSELVES
6389
« on: April 08, 2015, 08:04:11 PM »
No.
6390
« on: April 08, 2015, 08:03:34 PM »
i thought this thread was about rand paul
Pages: 1 ... 211212213 214215 ... 517
|