【问题标题】:C Error - What does the number stand for?C 错误 - 数字代表什么?
【发布时间】:2012-07-03 10:33:50
【问题描述】:

我在这方面找不到任何东西,但可能只是因为我不知道如何搜索,因为我不知道如何调用它。

我尝试编译一些 C 代码并得到以下错误:

/path/to/file.h:55:32: error: path/to/include.h: No such file or directory

我知道错误并且我知道问题出在file.h line 55 - 其中包含不存在。

但是32 代表什么?

马蒂

【问题讨论】:

    标签: c compiler-errors line-numbers


    【解决方案1】:

    这是55 行中的字符数。

    这也可能被称为“列号”(见评论),但我发现这有点误导,例如一个制表符通常会在您的编辑器中占据多于一列,但对于编译器来说仍算作一个字符。

    【讨论】:

    • 我也是这么想的,但行是:#include "arch/i960/regsI960.h" - 为什么是 32?
    • 它是行尾,这是整个包含已知并且可以处理的点。
    • Holy Sh** - 它的换行符。对我来说没有意义......但无论如何谢谢:)
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-13
    • 2011-09-11
    • 2020-12-08
    • 1970-01-01
    • 1970-01-01
    • 2020-12-29
    • 1970-01-01
    相关资源
    最近更新 更多