newbie question: large multiarray in a mult-file project

13 Jan
2005
13 Jan
'05
10:09 p.m.
Hi,
I need to declare a large multiarray in a multi-class project, something in
the order of 10,000 x 300 x sizeof(a struct of 48 byte), I need to put the
matrix in a header file so that other classes can see it. would it be a good
idea to put all of the following lines in a header file? or the memory
allocation should really be done in a .cpp file while leaving a pointer of
some sort in the header? in other words, what would be a better way of
declaring a large multiarray in a multi-file project?
typedef boost::multi_array
7346
Age (days ago)
7346
Last active (days ago)
0 comments
1 participants
participants (1)
-
M L