Every so often I am stunned by a post.

while( *outstr++ = *instr++);

This only requires knowledge of operator precedence, quite simple.

i+++j;

Try this one.

These boards are the place for silly mistakes and learning, and its a lot easier to post a stupid question here and have it answered quickly than spend hours scouring for a dead end, that being said, it also sucks having to explain that the IDE uses C++ once a day or more.