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.


Topics - cxfhvxgkcf-56:7

Pages: 1 ... 345 67 ... 31
121
The Flood / What kind of weeb faggot eats his french fries with chopsticks?
« on: September 29, 2015, 04:33:28 PM »
T4r

122
The Flood / I had this amazing beer when I ate sushi on Saturday
« on: September 28, 2015, 07:34:10 PM »
Asahi black, good shit



Discuss good brews you've had lately.

123
The Flood / guess what came in the mail today pt 2
« on: September 28, 2015, 01:58:46 PM »
Spoiler

Spoiler

Spoiler

mmm sounds beautiful

124
The Flood / AMA hello dxm my old friend
« on: September 26, 2015, 12:32:31 AM »
i've come to get high off you again

125
The Flood / here's what a RPN calculator looks like
« on: September 23, 2015, 11:34:39 PM »
made by yours truly, nearly shit myself in the process

Code: [Select]
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include "boolean.h"
#include "fstack.h"
#include "util.h"

float rpn (char my_string[]) {
  fstack top;
  float num1, num2, num3, ans1, ans2;
  char temp[20];
  int i = -1, j = -1, next_state = 0;
  init_fstack(&top);

 while (1) {
switch(next_state) {
  case 0: i++;
  if (is_operator(my_string[i])) {
next_state = 1;
  }
  else if (is_digit(my_string[i])) {
next_state = 2;
  }
  else if (is_space(my_string[i])) {
next_state = 4;
  }
  else if (is_end(my_string[i])) {
next_state = 5;
  }
  else {
next_state = 6;
  }
    break;
 
  /* Found Operator */
  case 1: if (!is_empty(top)) {
          num2 = f_pop(&top);
}
          if (!is_empty(top)) {
  num1 = f_pop(&top);
}
     switch(my_string[i]) {
case '+': ans1 = num1 + num2;
f_push(&top, ans1);
break;
case '-': ans1 = num1 - num2;
f_push(&top, ans1);
break;
case '*': ans1 = num1*num2;
f_push(&top, ans1);
break;
case '/': ans1 = num1/num2;
f_push(&top, ans1);
break;
}
   next_state = 0;
    break;
 
  /* Found Digit */
  case 2: temp[j] = my_string[i];
  j++;
  i++;
  f_push(&top, my_string[i]);

  if (is_digit(my_string[i])) {
     next_state = 2;
  }
  else {
     next_state = 3;
  }
    break;
 
  /* Found end of number */
  case 3: temp[j] = '\0';
  sscanf(temp, "%f", &num3);
  f_push(&top, num3);
  j = 0;
  i--;
  next_state = 0;
    break;

/* Found Space */
  case 4: next_state = 0;
    break;
 
  /* Found end of string */
  case 5: ans2 = f_pop(&top);
   return printf("Answer is %.3f\n", ans2);
    break;

  case 6: return printf("Something went wrong\n");
    exit;
    break;
}
    }
}

there's obviously some other files that i'm not including but for the sake of this post i'll give you just this, its most of it.

126
The Flood / i'm not the only one here who unironically hates jews right?
« on: September 23, 2015, 11:05:39 PM »
like i see people say it a lot but i think they're joking usually

no i actually hate jews

a lot

127
The Flood / guess what came in the mail today
« on: September 23, 2015, 06:09:06 PM »


ORIGINAL PRESSING
R
I
G
I
N
A
L

P
R
E
S
S
I
N
G

128
The Flood / fuck reverse polish notation
« on: September 22, 2015, 10:17:02 PM »
FUCKING SHIT
U
C
K
I
N
G

S
H
I
T

129
The Flood / AMA high as fook
« on: September 19, 2015, 11:22:03 PM »
such a wonderful hedonistic night

130
The Flood / just won an original 1963 vinyl of Monk's Dream for $15
« on: September 19, 2015, 11:56:33 AM »
I love eBay

131
The Flood / CHEAT GOT A REEEEEEEEEEEEEL JOB YER FORUM IS DEAD
« on: September 19, 2015, 12:11:20 AM »
T4R

132
The Flood / the hero Australia needs
« on: September 17, 2015, 12:17:58 PM »

133
The Flood / what image should i use for this skin for my xbox one?
« on: September 17, 2015, 12:01:41 PM »
its like one of these cheap o vinyl sticker skins, i'm just tired of seeing all the scratches on my Xbox. I can use a custom image so what should i use?

here was my first thought


134
going on Saturday to get it done, what kind of prices can i expect for all 4 windows? I'm thinking like $100-$200

135
The Flood / hey door
« on: September 14, 2015, 02:22:52 PM »
Boxxy is still shit

136
Should I get some chalk and write "gOD'S NOT REAL"?

137
The Flood / NSFW >tfw fapping with IcyHot and some of it goes up my peehole
« on: September 10, 2015, 12:35:32 AM »
so this is what it feels like to die

138
The Flood / i donated blood for the 8th time in my life today
« on: September 08, 2015, 06:40:58 PM »
have any of you low-life degenerates ever donated blood?

139
The Flood / >tfw you will never burn down a church on a cold Norwegian night
« on: September 08, 2015, 12:44:09 AM »

140
The Flood / logos that you think look nice
« on: September 06, 2015, 07:27:47 PM »
i for one love the Arch Linux logo. Its just so simple yet great looking


141
The Flood / favorite sub genre of metal?
« on: September 05, 2015, 05:47:28 PM »
for me it'd have to be Black

YouTube


142
The Flood / late night desktop thread
« on: September 04, 2015, 12:17:23 AM »
/g/ meme tier edition


143
The Flood / bands that aren't that great but you love cause nostalgia
« on: September 03, 2015, 07:21:26 PM »
YouTube


the motherfucking killers for me

144
The Flood / >tfw new Baroness song
« on: September 03, 2015, 11:36:28 AM »
YouTube


my dick

145
The Flood / >mfw
« on: September 02, 2015, 03:39:54 PM »
>be me
>want nothing more than being able to greentext with the simple push of the ">" key
>but cheat is a nigger
> he took all my white womens
>ate all my chicken
>killed my dog
>doesn't have the common courtesy to make easy greentexting an option on his forum
>shiggy diggy
>mfw nothing to do but end it all
>mfw actually just testing this shitty method out

146
Septagon / Can you make ">" automatically greentext?
« on: September 02, 2015, 10:44:14 AM »
Pl0x

149
The Flood / My thread did not deserve to get merged and locked
« on: September 01, 2015, 03:36:48 PM »
I didn't tell all those stupid shits to make parody threads you fucking idiots

150
The Flood / There's nothing morally wrong with [ ]
« on: September 01, 2015, 09:47:23 AM »
Prove me wrong

Pro tip: you can't

Pages: 1 ... 345 67 ... 31