【问题标题】:I have found this problem failed to get away from me我发现这个问题无法摆脱我
【发布时间】:2021-12-25 14:44:04
【问题描述】:
~/pset1/mario/ $ make mario
clang -ggdb3 -O0 -std=c11 -Wall -Werror -Wextra -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wshadow    mario.c  -lcrypt -lcs50 -lm -o mario
mario.c:6:1: error: expected identifier or '('
{
^
1 error generated.
make: *** [<builtin>: mario] Error 1
~/pset1/mario/ $ 

【问题讨论】:

    标签: ide cs50


    【解决方案1】:

    此错误消息表示您在源代码的第 6 行中缺少括号“)”或“(”。

    mario.c:6:1:指的是错误的地址或位置。

    【讨论】:

    • 非常感谢,终于搞定了。
    • 没问题。很高兴能提供帮助。
    猜你喜欢
    • 1970-01-01
    • 2014-03-28
    • 2019-01-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2022-09-27
    • 2011-08-12
    • 1970-01-01
    相关资源
    最近更新 更多