robinbloke (
robinbloke
) wrote
2006
-
07
-
25
10:12 am
Current Mood:
busy
Current Music:
Endorphin - Satie 2
Entry tags:
coding
Updated slightly; C geekery
[
Poll #777592
]
Flat
|
Top-Level Comments Only
no subject
ewx.livejournal.com
2006-07-25 09:27 am (UTC)
(
link
)
The semantics are identical. The 'char* fred' version breaks horribly when you try to express anything more complicated a single, simple, declarator within a given declaration (and also implies ignorance of the logic behind C's declarator syntax).
no subject
duncanneko.livejournal.com
2006-07-25 09:38 am (UTC)
(
link
)
Well, I was right about being Wrong ;) I was vaguely aware of the
char *a, b, *c;
business but never got as far as writing anything like that myself anyway. I just work on my own (flawed) parsing of 'char
[ ]
*' into english.
15 comments
Post a new comment
Flat
|
Top-Level Comments Only
[
Home
|
Post Entry
|
Log in
|
Search
|
Browse Options
|
Site Map
]
no subject
no subject
char *a, b, *c;
business but never got as far as writing anything like that myself anyway. I just work on my own (flawed) parsing of 'char[ ]*' into english.