C and C++

Moderators: None (Apply to moderate this forum)
Number of threads: 28651
Number of posts: 94667

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
use of a 2-d array Posted by tubby on 10 May 2011 at 4:57 AM
guys, we use like a 2-d array very often.
But what exactly is the use of a 2-d array ?

Now when i look at it, i feel everything can be done using a 1-d array and incrementing the pointer appropriately.
Is the only advantage of a 2-d array , matrix representation ? (By the way, matrices are very important, i understand cuz its matrix multiplication that happens in GPU's)

But can someone give me another example, or induce a different kind of thought into this.

Thanks.




 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.