Hi, I am trying to create an array of structs to hold some basic information. I'm looking at something like this:
struct frame
{
int file1[153];
string file2[153];
int file3[153];
float file4[153];
};
frame newArray[558];
I can build this in VS 2005, but when I try to run it, I get a memory access error. I started with an entirely blank project, and have only on .h and one .cpp file, less than 100 lines at this point.
If I take the newArray[] size down to around 250, it's ok - why is this?
Thanks,
James
struct frame
{
int file1[153];
string file2[153];
int file3[153];
float file4[153];
};
frame newArray[558];
I can build this in VS 2005, but when I try to run it, I get a memory access error. I started with an entirely blank project, and have only on .h and one .cpp file, less than 100 lines at this point.
If I take the newArray[] size down to around 250, it's ok - why is this?
Thanks,
James