Thread: moving n-dimentional arrays in c++

  1. #1
    Registered User
    Join Date
    Feb 2002
    Posts
    1

    Talking moving n-dimensional arrays in c++

    Im writing a program on multi-dimensional arrays in c++. I have been instructed to ask the user how many dimensions he would like the array. Then I take my a one-dimensional array and put it into the N-dimensional array. The N-dimension array then needs to be placed in another M-dimension array (size specified by user). After, the M-dimensional array needs to be sorted. I know how to copy a multi-dimensional array into a one-dimensional or another M-dimensional array, but only when I know how many dimensions. Anyone know the way to go about doing this?
    Last edited by kknla; 02-06-2002 at 06:15 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 16
    Last Post: 01-01-2008, 04:07 PM
  2. Need Help With 3 Parallel Arrays Selction Sort
    By slickwilly440 in forum C++ Programming
    Replies: 4
    Last Post: 11-19-2005, 10:47 PM
  3. Crazy memory problem with arrays
    By fusikon in forum C++ Programming
    Replies: 9
    Last Post: 01-15-2003, 09:24 PM
  4. 3 Dimentional string Arrays
    By paulroseby in forum C Programming
    Replies: 3
    Last Post: 11-27-2002, 06:53 AM
  5. moving arrays
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 02-17-2002, 03:04 PM