CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Threaded View

  1. #1
    Join Date
    Feb 2009
    Posts
    112

    Make an array global

    Hi, I created a two dimensional array and I found out that I cannot just use it locally. So how can I use it in other parts of my program? That is, how can I use it globally?

    **Edit**
    Something I thought might be useful to know is that the array is a dynamic array. Here is how I declare it:

    string[,] NESRomArray = new String[NumberOfRowsInArray, 2];

    Thanks,
    Randell
    Last edited by vandel212; February 18th, 2009 at 04:40 PM.

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
  •  





Click Here to Expand Forum to Full Width

Featured