lixo1
19th February 2009, 17:12
Hi everybody,
I have the following problem: My program is mathematical, so I need to use objects like
#define N 1000.....
.. double a[N]; double b[N][N]; ...
Now, my big problem is the N, if it's too big > 10000 on Windows (with VC++) it gives me application error (runtime error, as I understand the compiler cannot optimise the memory), so I need to use very small vectors/arrays.
My question is: Is there a Qt class that creates a vector like my example, and manage the memory of the PC to obtain an "indefinite" dimension vector/array?
Thank you very much for any kind of help.
I have the following problem: My program is mathematical, so I need to use objects like
#define N 1000.....
.. double a[N]; double b[N][N]; ...
Now, my big problem is the N, if it's too big > 10000 on Windows (with VC++) it gives me application error (runtime error, as I understand the compiler cannot optimise the memory), so I need to use very small vectors/arrays.
My question is: Is there a Qt class that creates a vector like my example, and manage the memory of the PC to obtain an "indefinite" dimension vector/array?
Thank you very much for any kind of help.