title: C++, expression must be a modifiable lvalue
body: <p>I have this following code:</p>
  
  <pre><code>#include "stdafx.h"
  #include&lt;iostream&gt;
  using namespace std;
  
  const int x = 5;
  bool graf_adj[x][x] = {
  0,1,1,1,0,
  1,0,1,0,0,
  1,1,0,1,1,
  1,0,1,0,0,
  0,0,1,0,0
  };
  struct Graf
  {
      bool adj[x][x];
      char n;
  };
  
  int main(){
  Graf graf1;
  graf1.adj = graf_adj;
  }
  </code></pre>
  
  <p>in main function when i try to assing graf_adj to graf1.adj
     <code>graf1.adj = graf_adj;
  </code> complier gives me this error:</p>
  
  <blockquote>
    <p>Error Expression must be a modifiable lvalue</p>
  </blockquote>
  
  <p>Can anybody give a solution to this ?</p>
  
  <p>Thank you</p>