记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:24:36: error: 'strlen' was not declared in this scope
         p = (char *)malloc(strlen(A) + strlen(B));
                                    ^
/in/foo.cc:25:20: error: 'strcpy' was not declared in this scope
         strcpy(p, B);
                    ^
/in/foo.cc:26:20: error: 'strcat' was not declared in this scope
         strcat(p, A);
                    ^

信息

递交者
类型
递交
题目
2-2 语言的起点
语言
C++
递交时间
2021-01-28 21:44:05
评测时间
2021-01-28 21:44:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes