title: Access violation writing location error when using strcat
body: <p>I am having problems when using the strcat function in C++.</p>
  
  <p>If I do :</p>
  
  <pre><code>MyClass::MyClass(char* myString){
  
  char* AnotherString = myString;
  strcat(AnotherString, "bob");
  
  }
  </code></pre>
  
  <p>Then everything is fine.  However, if I do:</p>
  
  <pre><code>MyClass::MyFunction(){
  
  char* AnotherString = "fred";
  strcat(AnotherString, "bob");
  
  }
  </code></pre>
  
  <p>I get an unhandled exception in strcat.asm.  Any ideas?</p>
  
  <p>Regards</p>