title: C++: Using Strcpy with Pointer Strings
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1274626/access-violation-when-using-strcpy">Access violation when using strcpy?</a>  </p>
  </blockquote>
  
  
  
  <p>I have came onto something that is bugging me</p>
  
  <p><code>char* p = "Hello";
  strcpy (p,"bye");
  </code></p>
  
  <p>This always gives me an error, So how can I use strcpy with pointer strings.</p>
  
  <p>(and please nobody tell me to use std::string)</p>
  
  <p>Thank you</p>