> Mike Looney
>
> >strcpy(monster.name,"Orc\0");
> <RANT sytle=Off Topic>
> ARAAGGGGH!!!!!!!
>
> Sorry, you pushed a button here.
>
> In every language that I know of that has both the idea of string
> litterals
> and the function strcpy, a string litteral is null terminated.
> Adding the
> \0 is over kill and just makes your code hard to read.
> </RANT>
Except Visual Basic, which makes a COM interface between VB and C++ a real
bugger. Of course in this case it simply results in two null values on the
end of the string, but who's counting?
-Brad
_______________________________________________
Ogf-l mailing list
[EMAIL PROTECTED]
http://www.opengamingfoundation.org/mailman/listinfo/ogf-l