King Rat (gkr) wrote,
King Rat

Someone please shoot me

Who can tell me what is wrong with this little snippet of C++ code?

int cbXMLText = strlen(szXMLText);
szXMLText[cbXMLText] = '\0'; // need to null terminate the string since EncodeForXML doesn't

  • Last post

    I don't plan to delete my LJ (I paid for permanent status, dammit), but this will be the last post. I don't plan to read it anymore, either…

  • Unemployed

    Turns out my insurance is cut off at midnight tonight, not the end of the month. In a way, that's a good thing. Now I'll move my appointment…

  • Home from the cruise, off to Sunnyvale

    A week off, but tomorrow I head to the home office for a week there.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened