Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
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

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