K
kathy
I have a piece of code:
....
std::vector< double > vProcessedSpectrum;
vProcessedSpectrum.resize( 1 );
vProcessedSpectrum.resize( 10 );
vProcessedSpectrum.resize( 102 );
vProcessedSpectrum.resize( 1024 ); //error happened here!
....
When I resize the vector to some big number, I got error:
"Debug Error" and break into the "ctr0msg.c".
How to fix the problem?
....
std::vector< double > vProcessedSpectrum;
vProcessedSpectrum.resize( 1 );
vProcessedSpectrum.resize( 10 );
vProcessedSpectrum.resize( 102 );
vProcessedSpectrum.resize( 1024 ); //error happened here!
....
When I resize the vector to some big number, I got error:
"Debug Error" and break into the "ctr0msg.c".
How to fix the problem?