Changes

Jump to: navigation, search

Team 42 Contributions

826 bytes added, 00:29, 19 November 2012
no edit summary
Back to your question. Call to Function Pointer will call an overloaded function with the same signature as the Function Pointer.
<br>'''Answer Submitted by:''' Team42<br>
 
 
 
'''Q:''' How to visualize a multi-dimensional array? <br>
'''A:''' The simplest way to do so for a 2 dimensional array is a table
<source lang="cpp">
0123
4567
7890
</source>
 
It gets slightly more complex when it comes to 3 dimensional arrays
*First what comes to minds of majority of people is a cube
<source lang="cpp">
__________
/\444444444\
/\3\444444444\
/\2\3\444444444\
/\1\2\3\444444444\
\0\1\2\/33333333\/
\0\1\/22222222\/
\0\/11111111\/
\/00000000\/
</source><br>
(There are many disadvantages to using this form besides awkwardness!)
 
 
*Another way is to display each of the layers as separate 2 dimensional arrays
<source lang="cpp">
111
111
111
 
222
222
222
 
333
333
333
</source>
 
'''To be Continued (Feel free to add your ideas! :D)'''
 
Submitted by Team42
<br><br>
==[[Assignment 2 (Release 0.1): Q & A | Assignment 2]]==

Navigation menu