![]() |
#2
zbjzbj2021-05-27 01:07
|
#include <stdio.h>
int main()
{
char a[] = "helloworld";
printf("%d\n", strlen(a));
return 0;
}
运行时系统就说没有定义,有点不太理解。
运行时系统显示的提示信息:
7 25 E:\C语言代码练习DVE C++\练习01.cpp [Error] 'strlen' was not declared in this scope
求指点