Here is the code
bool Tokenizer::SkipWhiteSpace()
{
// skip spaces, tabs, etc.
while (CurrentChar() <= _T(' ') && MoveToNextChar()) // don't check EOF when MoveToNextChar already does, also replace isspace() which calls msvcrt.dll
; // with a dirty hack: CurrentChar() <= ' ' is "good enough" here
if (IsEOF())
return false;
return true;
}
My question is: Why we should avoid a call to msvcrt.dll?
I use "dependency walker" to check "codeblocks.dll", it do depend on msvcrt.dll. See the screen shot.
Any comments? Thanks.
[attachment deleted by admin]