On Fri, 03 Dec 2004 14:29:14 +0100, tei <[EMAIL PROTECTED]> wrote:
...
> Why not rewrite this to this?:
...
>         const char *s = strchr( szKeyName, '#' );
>         if ( s )
>         {
>                 *s = '\0';
...

Because then it returns the error:
"error C3892: 's' : you cannot assign to a variable that is const"

--
====================
<SB> Childe Roland
"I will show you fear in a handful of jelly beans."

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to