编译老是通过不了strlen这个不知道为什么? 如果是错了应该怎么改?#include <iostream.h>
void main(){ char ch[]="how are you";
cout <<"size of array: " <<sizeof(ch) <<endl; cout <<"size of string: " <<strlen("how are you") <<endl;}
顶一下...不过你这个是改了的吗?这段代码运行正常啊.......................