|
From: Ioannis V. <no...@ho...> - 2002-06-04 19:05:39
|
I assume C++: double (*p)[1024]=double int[1024][1024]; // ... delete[] p; But I strongly recommend: #include <vector> // ... using std::vector; vector<vector<double> >array(1024, vector<double>(1024)); // ... // The container object goes out of scope and clears itself automatically. Ioannis -----Original Message----- From: dev...@li... [mailto:dev...@li...] On Behalf Of Marcos Carrard Sent: Monday, June 03, 2002 8:12 PM To: dev...@li... Subject: [Dev-C++] Memory problem Hello! I am with a memory problem. I need to create three objects in the Dev-C++ with 1024x1204 positions of double. The program compels normally, but it does not work because not obtain place enough in memory for all objects. What I can do to make this? My program work with pointers for the objects. Thanks for any help. Marcos ca...@un... |