Record Detail

Compile Error

/in/hotel-main.c:3:17: fatal error: dir.h: No such file or directory
 #include <dir.h>
                 ^
compilation terminated.
/in/hotel-mt.c: In function 'receipt':
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\J' [-Werror]
     filename= (char *) sprintf("D:\JOINT INSTITUTE\Intro to Computer and Programming\Projects\P2 C\cmake-build-debug\receipts\%s", v->name);
                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\I' [-Werror]
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\P' [-Werror]
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\P' [-Werror]
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\c' [-Werror]
/in/hotel-mt.c:95:32: error: unknown escape sequence: '\%' [-Werror]
/in/hotel-mt.c:95:15: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     filename= (char *) sprintf("D:\JOINT INSTITUTE\Intro to Computer and Programming\Projects\P2 C\cmake-build-debug\receipts\%s", v->name);
               ^
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Project 2
Language
C
Submit At
2018-07-17 10:26:26
Judged At
2018-07-17 10:26:26
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes