User Profile

Collapse

Profile Sidebar

Collapse
ganymede
ganymede
Last Activity: Feb 27 '07, 03:44 PM
Joined: Feb 22 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ganymede
    replied to 3D arrays
    in C
    If you create the array within a function it will be deleted the moment the function ends

    {
    array[x][y][z];
    blabla;
    } // array deleted
    See more | Go to post

    Leave a comment:


  • ganymede
    replied to 3D arrays
    in C
    Hi there,

    I'm still a student but I think this is what you need.

    Code:
    for ( iterate through 1st array dimension)
    {
      for ( iterate through 2nd array dimension)
      {
        for (iterate through 3rd array dimension)
         {
          delete array [1st] [2nd] [3rd]
         }
       }
    }
    Let's say all array's go from 0 to MAX.
    then the first element...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...