T
TrustyTif
After surfing the google & MSDN for a few days I found an MSDN site
that explained how to "new" a multidimensional array in C++...but, I
don't know how to use it, for alas, my brain still doesn't understand
pointer very well. Here's the site:
http://msdn.microsoft.com/library/d...n-us/vclang98/html/_pluslang_new_operator.asp
And here's what I've come up with thus far to have a 2 dimensional
array of CStrings.
CString (*myTwoDimArray)[3000][MAX_PARAMS];
myTwoDimArray = new CString[0][3000][MAX_PARAMS];
(p.s. if you need to know what that first [] is on the new statement,
see the above referenced website...even though it barely explains it).
SO! Anyone wanna' tell me how to actually put a value in my 2D
CString array? Or how to delete it once I'm done?!
that explained how to "new" a multidimensional array in C++...but, I
don't know how to use it, for alas, my brain still doesn't understand
pointer very well. Here's the site:
http://msdn.microsoft.com/library/d...n-us/vclang98/html/_pluslang_new_operator.asp
And here's what I've come up with thus far to have a 2 dimensional
array of CStrings.
CString (*myTwoDimArray)[3000][MAX_PARAMS];
myTwoDimArray = new CString[0][3000][MAX_PARAMS];
(p.s. if you need to know what that first [] is on the new statement,
see the above referenced website...even though it barely explains it).
SO! Anyone wanna' tell me how to actually put a value in my 2D
CString array? Or how to delete it once I'm done?!