记录详情

Compile Error

/in/foo.c: In function 'mystrcat':
/in/foo.c:12:11: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration]
  int tlen=strlen(t);
           ^~~~~~
/in/foo.c:12:11: warning: incompatible implicit declaration of built-in function 'strlen'
/in/foo.c:12:11: note: include '<string.h>' or provide a declaration of 'strlen'
/in/foo.c:15:4: error: 'i' undeclared (first use in this function)
  t[i+tlen-1]=0;
    ^
/in/foo.c:15:4: note: each undeclared identifier is reported only once for each function it appears in

信息

递交者
类型
自测
题目
A8-4 字符串的连接函数
语言
C
递交时间
2023-12-05 15:02:12
评测时间
2023-12-05 15:02:12
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes