Deleting *char[]
<p>If I try to delete a char I get an access violation error. </p>

<p>Heres my code:</p>

<pre><code>int main()
{
    char *myString = new char[32];
    myString = "Hello";
    cout &lt;&lt; myString;
    cin.get();

    delete [] myString;
    return 0;
}
</code></pre>

<p>Ive also tried </p>

<pre><code>delete myString
</code></pre>

<p>but im still get access violation errors</p>
