sizeof
1
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?
2
Name:
Anonymous
2010-11-16 1:39
What is this ``strings'' that you speak of?
3
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.
4
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.
5
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.
6
Name:
Anonymous
2010-11-16 8:03
pointers to character arrays, not strings.
7
Name:
Anonymous
2010-11-16 10:18
Yes, the definition still holds, [spoiler] ``faggot''[/code] .
8
Name:
Anonymous
2010-11-16 13:01
>>7
[spoiler] ``faggot''[/code]
9
Name:
Anonymous
2010-11-16 13:27
Fucking null-terminated strings how do they work?!�S��5۰I�Y*�+{�"R�)�P����
10
Name:
Anonymous
2010-11-16 16:36
Come back when you've passed chapter 5.
11
Name:
Anonymous
2010-11-16 17:22
>>9
This has nothing to do with strings being null-terminated.
12
Name:
Anonymous
2010-11-17 0:05
>>11
True. But you can't deny foreseeing the OP of this thread come back with a similar
ly idiotic question about null-terminated strings once
he learns about them.
13
Name:
Anonymous
2010-12-17 1:30
Xarn is a bad boyfriend
14
Name:
Anonymous
2010-12-26 7:36