|
|
发表于 2022-10-12 23:37:56
|
显示全部楼层
[mantou@localhost ~]$ vi test.c
[mantou@localhost ~]$ gcc test.c && ./a.out
test.c: 在函数‘findAllDirs’中:
test.c:71:2: 错误:expected ‘)’ before ‘{’ token
{
^
test.c:92:1: 错误:expected expression before ‘}’ token
}
^
[mantou@localhost ~]$ vi test.c
[mantou@localhost ~]$ gcc test.c && ./a.out
test.c: 在函数‘findAllDirs’中:
test.c:85:20: 错误:expected expression before ‘=’ token
total + = countlines(entry->d_name);
^
[mantou@localhost ~]$ vi test.c
[mantou@localhost ~]$ gcc test.c && ./a.out
计算中...
目前你总共写了 217 行代码!
|
|