שאלות תרגיל בית 1

קימפול הקבצים בcsl3

קימפול הקבצים בcsl3

על ידי הדיל חמודי בתאריך
מספר תגובות: 1

שלום,

כשאני מנסה לקמפל את קובץ election.c שלי בcsl3  מופיעה אצלי שגיאה כזאת 

election.c:139:11: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\327’ in program
election.c:139:2: error: stray ‘\2’ in program
election.c:139:20: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\21’ in program
election.c:139:23: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\30’ in program
election.c:139:25: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\210’ in program
election.c:139:2: error: stray ‘`’ in program
election.c:139:29: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\10’ in program
election.c:139:35: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\335’ in program
election.c:139:2: error: stray ‘\2’ in program
election.c:139:44: error: null character(s) ignored [-Werror]
election.c:139:2: error: stray ‘\22’ in program
election.c:139:47: error: null character(s) ignored [-Werror]
election.c:140:1: error: null character(s) ignored [-Werror]
election.c:141:1: error: stray ‘@’ in program
election.c:141:2: error: null character(s) ignored [-Werror]
election.c:141:8: error: null character(s) ignored [-Werror]
election.c:141:1: error: stray ‘\353’ in program
election.c:141:1: error: stray ‘\2’ in program
election.c:141:17: error: null character(s) ignored [-Werror]
election.c:141:1: error: stray ‘\22’ in program
election.c:141:20: error: null character(s) ignored [-Werror]
election.c:142:1: error: null character(s) ignored [-Werror]
election.c:142:2: error: stray ‘\317’ in program
election.c:142:2: error: stray ‘\24’ in program
election.c:142:4: error: stray ‘@’ in program
election.c:142:5: error: null character(s) ignored [-Werror]
election.c:142:2: error: stray ‘\313’ in program
election.c:142:11: error: null character(s) ignored [-Werror]
election.c:142:2: error: stray ‘\373’ in program
election.c:142:2: error: stray ‘\2’ in program
election.c:142:20: error: null character(s) ignored [-Werror]
election.c:142:2: error: stray ‘\22’ in program
election.c:142:23: error: null character(s) ignored [-Werror]
election.c:143:1: error: null character(s) ignored [-Werror]
election.c:143:2: error: stray ‘\22’ in programelection.c:143:4: error: stray ‘@’ in program

.

.

.

.

.

מה יכולה להיות הבעיה ?

 

בתגובה ל: הדיל חמודי

תשובה ל: קימפול הקבצים בcsl3

על ידי אורטל כהן בתאריך
היי,

אני לא יודעת באיזה פורמט נכתבו הקבצים. ראיתי פה שגיאה דומה:
https://stackoverflow.com/questions/38343182/error-with-stray-342-stray-210-stray-222-in-c-program-in-linux-system-c
https://stackoverflow.com/questions/13224545/error-stray-210-in-program-in-c
ממליצה לך לחפש בגוגל עוד פרטים על השגיאה, ע"י חיפוש השגיאה עצמה.