3d array

This is a discussion on 3d array within the C++ Programming forums, part of the General Programming Boards category; Hello i have to create a 3d array and put integers float and chars in the array but i have ...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    6

    3d array

    Hello i have to create a 3d array and put integers float and chars in the array but i have no clue how to start all i kknow is that i have to used a struct/class could someone give me idea how to do it please

    thanks in advance

  2. #2
    zen
    zen is offline
    of Zen Hall zen's Avatar
    Join Date
    Aug 2001
    Posts
    1,007
    struct
    {
    int a;
    float b;
    char c;
    }MyStruct[SIZEX][SIZEY][SIZEZ];
    zen

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, 11:17 AM
  2. Class Template Trouble
    By pliang in forum C++ Programming
    Replies: 4
    Last Post: 04-21-2005, 04:15 AM
  3. 3D array
    By GSLR in forum C Programming
    Replies: 2
    Last Post: 05-12-2002, 04:00 PM
  4. 3D Array
    By Alextrons in forum Windows Programming
    Replies: 4
    Last Post: 01-11-2002, 12:39 AM
  5. Dynamic 3D array allocation
    By Vulcan in forum C++ Programming
    Replies: 4
    Last Post: 11-21-2001, 01:51 AM

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