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

sizeof

Name: Anonymous 2010-11-16 1:38

So I'm reading my K&R, and it goes

The size of the array is the size of one entry times the number of entries

but let's say you have an array of variable length strings, keyword variable, does this definition still hold?

Name: Anonymous 2010-11-16 1:39

What is this ``strings'' that you speak of?

Name: Anonymous 2010-11-16 1:40

I guess it works if, even though you write out a variable length string, all it stores is the pointer to the first character. Fucking magic.

Name: Anonymous 2010-11-16 1:42

Maybe you should start learning programming with a language appropriate for your intellect -- I suggest picking up VB6 and going from there.

Name: Anonymous 2010-11-16 4:10

I hate it when idiots that shouldn't be let out of the VB camp try to learn C.

Name: Anonymous 2010-11-16 8:03

pointers to character arrays, not strings.

Name: Anonymous 2010-11-16 10:18

Yes, the definition still holds, [spoiler]``faggot''[/code].

Name: Anonymous 2010-11-16 13:01

>>7
[spoiler]``faggot''[/code]

Name: Anonymous 2010-11-16 13:27

Fucking null-terminated strings how do they work?!�S��5۰I�Y*�+{�"R�)�P����

Name: Anonymous 2010-11-16 16:36

Come back when you've passed chapter 5.

Name: Anonymous 2010-11-16 17:22

>>9
This has nothing to do with strings being null-terminated.

Name: Anonymous 2010-11-17 0:05

>>11
True. But you can't deny foreseeing the OP of this thread come back with a similarly idiotic question about null-terminated strings once  he learns about them.

Name: Anonymous 2010-12-17 1:30

Xarn is a bad boyfriend

Name: Anonymous 2010-12-26 7:36


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