Guys, I have a very simple question for you, Please help me. Thanks alot!!!
#include < iostream>
#include < complex>
using namespace std;
int main()
{
int k=200000;
complex <double> r0[k/2],r1[k/2]; ///wrong!!!
complex <float> r0[k/2],r1[k/2]; ///right
return 0;
}
I just wanna create a complex array. k=200000 here (need to be big like this), the computer stop working(not error, it shows my file stop working), if i just complex <double>, it works with complex<float>! Someone please tell me the reason please, thanks again!!!