Please help with displaying 2D array
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Please help with displaying 2D array

Threaded View

  1. #1
    Join Date
    Dec 2011
    Posts
    10

    Post Please help with displaying 2D array

    I got assigment at my school to display 2D array like this:

    This is default array:
    1 2 3 4
    5 6 7 8
    9 10 11 12
    13 14 15 16

    Now I have to print the default array like this:

    1 2 6 7
    3 5 8 13
    4 9 12 14
    10 11 15 16

    I have tried some codes to do it myself but i had no succes.

    Please can you give information what algorithm to use, to make this program work:

    Thank you very much!!!
    Attached Images Attached Images  

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center