Getting the size of a cstring
<p>Is there a way to get the size of a null-terminated string?</p>

<p>Ex.</p>

<pre><code>char* buffer = "an example";

unsigned int buffer_size; // I want to get the size of 'buffer'
</code></pre>
