GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: Add Line Numbers


A Paste by jake`
{
    char tmp [512];
    if (GetModuleFileName (0, tmp, sizeof tmp) > 0)
    {
        //    terminate the string at the last backslash
        *strrchr (tmp, '\\') = 0;
        OutputDebugString (tmp);
    }
}