0_0_13812367_30220.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp:6:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13812367_30220.cpp: In function 'int is_prime(int)':
0_0_13812367_30220.cpp:24:9: error: expected ';' before 'if'
if(n%i==0) return 0;
^
0_0_13812367_30220.cpp:24:9: error: expected primary-expression before 'if'
0_0_13812367_30220.cpp:24:9: error: expected ')' before 'if'
0_0_13812367_30220.cpp: At global scope:
0_0_13812367_30220.cpp:26:5: error: expected unqualified-id before 'return'
return 1;
^
0_0_13812367_30220.cpp:27:1: error: expected declaration before '}' token
}
^
|