|
-
October 27th, 2001, 12:22 AM
#2
Re: array point to array
Define "double array". An array of doubles? or a 2-dimensional array?
I'll do the former; It's easier:typedef double DOUBLE10[10]; // Double10 is an array of 10 doubles.
DOUBLE10 LotsODoubles[5];
// LotsODoubles is a array of 5 DOUBLE10,
// each of which is an array of 10 doubles
//
double d = LotsODoubles[2][4];
Truth,
James
http://www.NJTheater.com
http://www.NovelTheory.com
I don't do it for the points (OK, maybe I do), but rating a post is a good way for me to know if I helped.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|