title: error: expected `;' before '{' token - What is the cause?
body: <p>Here is my implementation file:</p>
  
  <pre><code>using namespace std;
  
  #include &lt;iostream&gt;
  #include &lt;iomanip&gt;
  #include &lt;string&gt;
  #include &lt;stack&gt;  //line 5
  #include "proj05.canvas.h"
  
  //----------------Constructor----------------//
  
  Canvas::Canvas() //line 10
  {
    Title = "";
    Nrow = 0;
    Ncol = 0;
    image[][100];  // line 15
    position.r = 0;
    position.c = 0;
  }
  
  //-------------------Paint------------------// line 20
  void Canvas::Paint(int R, int C, char Color) 
  {
    cout &lt;&lt; "Paint to be implemented" &lt;&lt; endl;
  }
  </code></pre>
  
  <p>The errors I'm getting are these:</p>
  
  <pre><code>proj05.canvas.cpp: In function 'std::istream&amp; operator&gt;&gt;(std::istream&amp;, 
      Canvas&amp;)':
  proj05.canvas.cpp:11: error: expected `;' before '{' token
  proj05.canvas.cpp:22: error: a function-definition is not 
      allowed here before '{' token
  proj05.canvas.cpp:24: error: expected `}' at end of input
  proj05.canvas.cpp:24: error: expected `}' at end of input
  </code></pre>
  
  <p>These seem like simple syntax errors, but I am not sure what's wrong. Could someone decode these for me? I'd really appreciate it, thanks for your time!</p>
  
  <hr>
  
  <p><strong>EDIT</strong></p>
  
  <p>Here is the definition of Canvas in my .h file:</p>
  
  <pre><code>#ifndef CANVAS_H 
  #define CANVAS_H 
  
  #include &lt;iostream&gt;
  #include &lt;iomanip&gt;
  #include &lt;string&gt; 
  #include &lt;stack&gt; 
  
  class Canvas
  {
    public: 
        Canvas(); void Paint(int R, int C, char Color); 
         const int Nrow; 
         const int Ncol; 
         string Title; 
         int image[][100]; 
         stack&lt;int&gt; path; 
         struct PixelCoordinates 
         {  
           unsigned int r; 
           unsigned int c;
         } position; 
  }; 
  
  #endif 
  </code></pre>