dcsimg
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: C++
Expertise: Intermediate
Aug 29, 2000

WEBINAR:

On-Demand

Building the Right Environment to Support AI, Machine Learning and Deep Learning


Simulating Multidimensional Arrays Using Vectors

Although you can allocate multidimensional arrays manually, as in:

 
int (*ppi) [5]=new int[4][5]; // parentheses required 
// fill array
ppi[0][0] = 65;
ppi[0][1] = 66;
ppi[0][2] = 67;
//
Danny Kalev
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date