Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

I hate C

Name: VIPPER 2010-11-29 18:30

I work on some projects of mine, i do them in C. Now i used to be quite fond of C, but ever since working with C and especialy with Cstdlib i start to hate it. Its so damn ugly. Worst of all is i dont know how to make it better! Naming variables pisses me of and dont get me started on structs and types. I hate int and char and all that shit, it makes me so sick! The ugly form of the program also suck, returns and ifs combined look so ugly.

What should i do /prog/?

Name: Anonymous 2010-11-29 18:39

do some mallocs

Name: VIPPER 2010-11-29 18:40

>>2
But then i cant free or reuse them.

Name: Anonymous 2010-11-29 18:47

>>3
free(fuckWith(malloc(9000)))

Name: Anonymous 2010-11-29 18:50

>>3
yah I'm not quiet sure what you mean there.

Name: Anonymous 2010-11-29 18:53

>>5
you don't have to name variables, like with stack
int var[9000];
fuckWith(var);

Name: Anonymous 2010-11-29 19:02

int s [9000], p;
dup () {s [p] = s [p - 1]; p ++;}
push(int v) {s [p ++] = v;}
pop () {return s [p--];}
add () {push (pop () + pop ());}
sub () {push (pop () - pop ());}
mul () {push (pop () * pop ());}
div () {push (pop () / pop ());}
main ()
  {push (1); push (2); add (); push (3); mul ();
   printf("%d\n", pop ());}

Name: Anonymous 2010-11-29 19:03

>>1
I think BitCing about it is the best thing to do.

Name: Anonymous 2010-11-29 19:42

>>1
>I hate int and char and all that shit
I'm guessing you only prefer scripting languages.
>>3
You should probably stick to them too because you look like a complete fool trying to do C.

Name: Anonymous 2010-11-29 19:42

Try using it for something it's good at.

Name: Anonymous 2010-11-29 19:45

>>1
Programming!=Aesthetics

Name: Anonymous 2011-02-03 7:12

Don't change these.
Name: Email:
Entire Thread Thread List