Record Detail

Compile Error

In file included from /in/ex1.c:3:0:
/in/ex1.c:4:8: error: expected '{' before '_Complex'
 struct complex
        ^
/in/ex1.c:4:8: error: two or more data types in declaration specifiers
/in/ex1.c:6:10: error: stray '\357' in program
 int creal;
          ^
/in/ex1.c:6:11: error: stray '\274' in program
 int creal;
           ^
/in/ex1.c:6:12: error: stray '\233' in program
 int creal;
            ^
/in/ex1.c:7:10: error: stray '\357' in program
 int cimag;
          ^
/in/ex1.c:7:11: error: stray '\274' in program
 int cimag;
           ^
/in/ex1.c:7:12: error: stray '\233' in program
 int cimag;
            ^
/in/ex1.c: In function 'main':
/in/ex1.c:15:20: warning: unused variable 'b' [-Wunused-variable]
     double complex b = f + g * _Complex_I;
                    ^
/in/ex1.c:14:20: warning: unused variable 'a' [-Wunused-variable]
     double complex a = d + e * _Complex_I;
                    ^

Information

Submit By
Type
Submission
Problem
h4ex1: Structure, basic programming
Homework
Assignment 4
Language
C
Submit At
2018-06-21 12:38:20
Judged At
2018-06-21 12:38:20
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes