Posted by Bill on Friday, August 31, 2012 at 1:12am.
dptr = new double*[5];
// creates 5 rows
for (int i = 0; i < 5; i++)
dptr[i] = new double[3];
// creates 5 columns for each row.
// use the free() function to release memory
Related Questions
Computer Science Computer Programming - Please help! I cannot figure out what I ...
Physics - You place two charges a distance r apart. Then you double each charge ...
Chemistry - What are the major organic products of this reaction: ...
computer - construct function prototypes for descriptions given below: 1) Rarb...
Computers - //program that puts two lists in order in one single list with all ...
C++ - I have no idea how to construct this program. Any help is appreciated. ...
Programming C - //compares the amount the user has in deposits to the price of ...
Chemistry - if you double the concentration of HCL acid, will that double rate ...
Physics[CONCEPT- NO MATH] - F = G(m1 x m2)/(d)^2 If you double the mass of one ...
Computers - Operator overloading: Array indexing [] allow for double ...
For Further Reading