Splitting the string at Enter key
<p>I'm getting the text from editbox and I'd want to get each name separated by enter key like the character string below with NULL characters.</p>

<pre><code>    char *names = "Name1\0Name2\0Name3\0Name4\0Name5";

    while(*names)
    {
        names += strlen(names)+1;
    }
</code></pre>

<p>how would you do the same for enter key (i.e separated by /r/n) ? can you do that without using the std::string class?</p>
