Saturday, July 09, 2005

programming

I was working on a program yesterday... and it kept deleting the end of the message I wanted to print out... and after looking through it closer today it seems that (at least in C#) putting a null in the middle of a string deletes everything you put after that... after more looking around, I found that either adding either (char)0 or '\0' does that... now my question is this: Why would you need to do that? ...meh

No comments: