#: 3291 S10/Tandy CoCo
05-May-90 13:35:08
Sb: #3274-#C arrays
Fm: Pete Lyall 76703,4230
To: Jeff Dege 76426,211 (X)
"A pointer to the base type of the array"... excuse me? Which C lingo are you
speaking?
Try this:
....
int *ptr, woof[6][2];
.....
ptr = woof;
function(woof, ptr);
Now - when you get down to 'function()', are you telling me that
woof != ptr ? Are you telling me that they both don't point to
ints?
Just for clarification: the majority of the C work done in this forum is on the
6809 MW C Compiler, which is K&R based (almost to a fault), and limited. If
you're thinking about any ANSIfications, they simply just don't apply here
(unless you're talking about the later versions of the 68k flavors of the
compiler).
Pete
There is 1 Reply.
|