#: 3233 S10/Tandy CoCo
03-May-90 02:09:13
Sb: #3173-#C arrays
Fm: Bob van der Poel 76510,2203
To: Mark Griffith 76070,41 (X)
Mark, thanks for the work-around. Using (*foo)[6] instead of foo[12][6] makes
just about as much sense as anything else does right now in 'C' .
Actually, I am starting to understand things. I decided that it really was time
to learn this must talked about language...and the only way to do it is to
write something fairly non-trivial.
Oh, and I don't want to flog this horse too much, but according to K&R my
original way SHOULD work. See page 105...
f(day_tab)
int day_tab[2][13];
or int day_tab[][13];
or int (*day_tab)[13];
BUGS: Yes, it is so often true that what is thought of as a bug is really a
problem with the user. Heck, I've even spent hours looking over the source code
for my OWN programs looking for what I thought was a bug, only to find that I
was using the wrong command!
However, you mentioned that there are a couple of documented bugs which can be
worked around. Care to let us know what they are...But I am glad to hear that
the MW complier is 'solid'. Guess I know where to look when I get errors!
Also, I read that you are combining the MW stdio docs and Carl's into one
document. GREAT!!!!! When do you think it will be done?
And, does anyone have a good reason why 'C' doesn't pass an argument count to
functions (like Basic09)...too late now, but I don't see that it would create
that much more overhead, etc. Oh well...
There are 4 Replies.
|