Fast array transfer with 2D arrays...? 
Author Message
 Fast array transfer with 2D arrays...?

         Would anyone know how to do a fast array transfer with
a 2D array?  I have seen this in an advance c programming book
by Anderson & Anderson, but I cannot remember the details of the
construct that was given.  They used a 1D array in the book, I
think.  Thanks in advance to all that reply to this post.


Note:  What I mean by a fast array transfer
       for those who are unclear to what I
       am talking about:

       int main(void)
         int a[5] = {1,2,3,4,5};
         int b[5];

         /* Then some code to copy the contents */
         /* of array a into b. */

         b = a;  /* I think this would work with Pascal, */
                 /* but this doesn't work for C. */
         return 0;

        I hope that this makes it clear.

Sat, 25 Mar 1995 09:07:22 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Which 2D array of 2D array addressing method?

2. 2D array of pointers to 2D arrays

3. use 1d array + macro or 2d array?

4. Multiply and Add matrices with 2d array WITHOUT ARRAY INDEXING

5. How To pass 2D String array to VB from VC++ Using Safe array

6. char array (array of array...) question

7. Passing a 2d array from .NET to COM

8. Passing 2D arrays to functions with const.

9. passing 2d arrays by reference

10. Text Data File to 2D Array?

11. 2D arrays...

12. Help manipulating 2D array using (not and)


Powered by phpBB® Forum Software