Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Whats the point in two dimensional arrays?

Whats the point in two dimensional arrays?

Whats the point in two dimensional arrays?

Why have a two dimensional array when you can have one large one?

RE: Whats the point in two dimensional arrays?

Well.... It's mainly for the programmers convienence!
It is much easier to represent say, a chessboard, in a program with a 2 dimentional array than a single dim array.

RE: Whats the point in two dimensional arrays?

very simply put, you need 2d and multidimensional
arrays for representing multidimensional data
perfect example is for an inventory program for
a business: SHOE INVENTORY:
Color: red blue green
0 1 2
Size:0 23 45 64
1 14 67 78
2 09 10 34
3 22 11 25
this is 2-dim. data got it?

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close