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

Pages: 1-

C is crap

Name: Anonymous 2012-05-18 3:37

How can you fuckers program in thiSegmentation fault

Name: Anonymous 2012-05-18 3:44

Just because you can't speak a language doesn't mean that it's bad.

Name: Anonymous 2012-05-18 3:46

C is undefined bullshit.

Name: Anonymous 2012-05-18 4:08

Two c-strings walk into a bar and sit down. The bartender says, “So what’ll it be?” The first string says, “I think I’ll have a beer quag fulk boorg jdk^CjfdLk jk3s d#f67howe%^U r89nvy~~owmc63^Dz x.xvcu

Name: Anonymous 2012-05-18 4:24

What the hell is a "c-string"? Is that like a "c-struct"? The STANDARD doesn't say anything about "c-string"s so they don't exist.

Name: Anonymous 2012-05-18 4:33

>>5
what is char*?

alex, i'll take string.h for 400 please.

Name: Anonymous 2012-05-18 4:33

>>5
Null terminated char array.

Name: Anonymous 2012-05-18 4:56

>>5
Who the hell cares what the STANDARD says? It doesn't define all existence, ``faggot''. It's a common term for null-terminated strings and is often used in comparison to Pascal strings.

Name: Anonymous 2012-05-18 8:47

>>7
char* doesn't have to be null-terminated.

Name: Anonymous 2012-05-18 12:34

>>9
[citation needed]

Name: Anonymous 2012-05-18 13:25

>>5

char **p; p = new char*;
p[0] = strcpy(new char[strlen(string) + 1], string);

Name: Anonymous 2012-05-18 13:28

I agree OP, I moved off C a while ago.

I now program primarily in Ada.

Name: Anonymous 2012-05-18 13:32

A string is a null terminated array of chars, if it isn't null terminated then it isn't a string.

Name: Anonymous 2012-05-18 13:33

>>11
>new

cool sepples bro

Name: Anonymous 2012-05-18 13:41

>> whats wrong with new, you can use malloc(sizeof(..)) if you want to

Name: Anonymous 2012-05-18 13:51

>>13
Just because memory was so scarce back in the 1960-70s that they decided to trade a few bytes for one byte and O(n) length checking doesn't mean the C string is the only type of string and that it isn't a piece of shit.

Name: Anonymous 2012-05-18 14:21

>>15
How about it isn't part of the C language?

Name: Anonymous 2012-05-18 14:32

>>17
how about it is C++ which is an enhancement to the C language?

Name: Anonymous 2012-05-18 15:13

>>18
Less of you.

Name: bampu pantsu 2012-05-29 5:02

bampu pantsu

Name: Sgt.Kabu滮⇽kiman䔚੡ 2012-05-29 13:30

Bringing /prog/ back to its people
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy
All work and no play makes Jack a dull boy

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