Hi,
I have a 3d structure that contains a Byte variable cCtrlVal.
I would like to set this at runtime to 255 as fast as possible.
There are 5760 instances of cCtrlVal.
Currently I am looping through the matrix with 3 nested for loops.
This there a better quicker way to quick set this var?
Thanks in advance.
:Ron
struct typControlMatrix
{
BOOL bEnabled;
BOOL bChanged;
BOOL LastChange;
BOOL AdjStripNo;
BYTE cCtrlVal;
enum enControlType eCtrlType;
DWORD lCtrlNo;
char sStripDesc[MAX_SCRIBBLE_STRIP_DESC];
CString sCtrlVal;
BOOL bDescChanged;
int TrackPage;
int CompRatioIndex ;
DWORD lStripNo;
int lParamNo;
} m_tControlMatrix[128][5][9];