3D array

This is a discussion on 3D array within the C Programming forums, part of the General Programming Boards category; Hi ok in a 2 dim array like Name[10][40] this will mean that we can imagine a list of 10 ...

  1. #1
    Patent Pending GSLR's Avatar
    Join Date
    Sep 2001
    Posts
    134

    3D array

    Hi

    ok in a 2 dim array like Name[10][40] this will mean that we can imagine a list of 10 rows of names with each name consisting of characters of up to 40 characters long :

    ie

    Bob
    allen
    chris
    steve
    etc ...

    so now if you have a 3 dim array of Name[3][5][40] how can we picture this as the book that I have does not really explain this to much and I cant seem to get the picture.

    If someone can help here thanx

    Q
    And To All Those Opposed, WELL !!!
    >Deleted< " Looks like a serial no."

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,845
    Name[X]
    X is a sentence

    Name[X][Y]
    Y is a word in sentence X

    Name[X][Y][Z]
    Z is a char in word Y of sentence X

    Any use?

  3. #3
    Patent Pending GSLR's Avatar
    Join Date
    Sep 2001
    Posts
    134

    Ta

    Great Thanx

    Q
    And To All Those Opposed, WELL !!!
    >Deleted< " Looks like a serial no."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. 3D Array of Bool
    By cybernike in forum C++ Programming
    Replies: 37
    Last Post: 06-28-2007, 12:17 PM
  2. Class Template Trouble
    By pliang in forum C++ Programming
    Replies: 4
    Last Post: 04-21-2005, 05:15 AM
  3. Urgent help on 3d Array
    By despoil in forum C Programming
    Replies: 16
    Last Post: 05-19-2002, 05:06 PM
  4. 3D Array
    By Alextrons in forum Windows Programming
    Replies: 4
    Last Post: 01-11-2002, 01:39 AM
  5. Dynamic 3D array allocation
    By Vulcan in forum C++ Programming
    Replies: 4
    Last Post: 11-21-2001, 02:51 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21