title: C++ equivalent to C# Encoding.ASCII.GetBytes()
body: <p>I come from C#, I had a line :</p>
  
  <pre><code> byte[] key = Encoding.ASCII.GetBytes("myString");
  </code></pre>
  
  <p>How can I have an equivalent in C++ to get a <code>std::vector&lt;unsigned char&gt;</code> ?</p>