title: Adding char array to string in c++
body: <pre><code>char site[];
  
  scanf("%s", site);
  
  send(sock,"GET / HTTP/1.1\r\nHost: " + site + "\r\nConnection: close\r\n\r\n", strlen("GET / HTTP/1.1\r\nHost: " + site + "\r\nConnection: close\r\n\r\n"),0);
  </code></pre>
  
  <p>This gives me the error: expression must have integral or enum type.</p>
  
  <p>How can i fix this?</p>