Code::blocks; 0xC0000005

Hello,
I wrote a programm for school which generate data to Hand it over to an algorithm. But when I want to saved the generated data with the following code an error (0xC0000005) appears.
The randomdatagenerator function returns a std::string.
The error appears when i=3.
1
2
3
4
5
#define TESTAMOUNT 1024 
std::string data [TESTAMOUNT];
for (int i = 0; i < TESTAMOUNT; i++){
    data[i] = randomdatagenerator();
}

Process returned -1073741819 (0xC0000005)

I cannot add the array to the watchlist during debugging.
Where is the Problem? How can I solve it?
Thanks
asdx3
> I cannot add the array to the watchlist during debugging.
¿why not?

> Where is the Problem?
backtrace

http://www.cplusplus.com/forum/general/112111/
Topic archived. No new replies allowed.