“程序中出现杂散'\226'”编译器错误[重复]

2024-04-29

我写了下面的代码。其目的是实施一个双向链表。但出现了错误。

while(x==1); // This line showed errors
return 1;

Errors:

DoublyLinkedList.c: In function `main':
DoublyLinkedList.c:194: error: stray '\226' in program
DoublyLinkedList.c:194: error: stray '\128' in program
DoublyLinkedList.c:194: error: stray '\156' in program
DoublyLinkedList.c:194: error: `The' undeclared (first use in this function)
DoublyLinkedList.c:194: error: (Each undeclared identifier is reported only once
DoublyLinkedList.c:194: error: for each function it appears in.)
DoublyLinkedList.c:194: error: parse error before "list"
DoublyLinkedList.c:194: error: stray '\226' in program
DoublyLinkedList.c:194: error: stray '\128' in program
DoublyLinkedList.c:194: error: stray '\157' in program

什么是杂散误差?这些随机数是什么?


我从 Microsoft Word 文档中剪切粘贴了一些代码。我的文本编辑器显示了减号,但它实际上是八进制 226 或十六进制 96 的值。减号应该是十六进制 2D。当我将代码作为二进制文件打开时,我可以看到它 - 八进制 226 作为一个块显示在 ASCII 列表中。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

“程序中出现杂散'\226'”编译器错误[重复] 的相关文章

随机推荐