为什么这样也能编译?
VC6.0 console程序,
main.c文件
#include <stdio.h>
#include <windows.h>
int main()
{
const char *bBuffer="First message from server to client!";
size_t dLen=strlen(bBuffer)+1;
}
strlen函数在string.h文件中,但我并没有include,这样也能编译通过;
经测试,把windows.h去掉,不能编译通过;
难道windows.h已经include了string.h?但我在windows.h并没有找到string.h。。
疑惑中