title: Declaring a function that return a 2D array in a header file?
body: <p>I am trying to declare, within my header file, a function that returns a 2D array.  How can this be accomplished, given that we already know the size of the array?  Below is what I'm currently doing.</p>
  
  <pre><code>class Sample
  {
  public:
      char[x][y] getArr();
      void blah(int x, int y);
  private:
      const static int x = 8;
      const static int y = 2;
      char arr[x][y];
  };
  </code></pre>