Hi,
I have declared two arrays
double a[100][20];
double b[100][20];
Always when I try to access Array a it gives me access violation. If I comment array a b works fine.
What may be the reason. This variable I have declared in VC++ dll. I am using VC++ express edition.
C++ Array Related?
Not enough information. Are these arrays global or local variables? Do you export them? From where do you try to access them -- from within dll or from external app?..
Reply:you need declare other variables that will represent to your arrays...
your variables are
double a[100][20]
double b[100][20]
there must be another variable representing your
[100] and [20]
like:
int i
int b
and it looks like this one:
a[i][b]
and of course, you cannot access your array without data placed on your variables or particular array...
send me the code...
Reply:need to see the rest of the code particularly where you are accessing the data
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment