Piramidė

Taškai: 0

Compile: FAIL

piramide.cpp:14: error: ‘int exit [2]’ redeclared as different kind of symbol /usr/include/stdlib.h:543: error: previous declaration of ‘void exit(int)’ piramide.cpp: In function ‘void simuliuok()’: piramide.cpp:131: warning: pointer to a function used in arithmetic piramide.cpp:131: error: ISO C++ forbids comparison between pointer and integer piramide.cpp:131: warning: pointer to a function used in arithmetic piramide.cpp:131: error: ISO C++ forbids comparison between pointer and integer piramide.cpp: In function ‘int main()’: piramide.cpp:212: warning: pointer to a function used in arithmetic piramide.cpp:212: error: assignment of function ‘void exit(int)’ piramide.cpp:212: error: cannot convert ‘int’ to ‘void(int)throw ()’ in assignment piramide.cpp:212: warning: pointer to a function used in arithmetic piramide.cpp:212: error: assignment of read-only location ‘*(exit + 1u)’ piramide.cpp:212: error: cannot convert ‘int’ to ‘void(int)’ in assignment piramide.cpp:214: warning: pointer to a function used in arithmetic piramide.cpp:214: error: assignment of function ‘void exit(int)’ piramide.cpp:214: error: cannot convert ‘int’ to ‘void(int)throw ()’ in assignment piramide.cpp:214: warning: pointer to a function used in arithmetic piramide.cpp:214: error: assignment of read-only location ‘*(exit + 1u)’ piramide.cpp:214: error: cannot convert ‘int’ to ‘void(int)’ in assignment piramide.cpp:216: warning: pointer to a function used in arithmetic piramide.cpp:216: error: assignment of function ‘void exit(int)’ piramide.cpp:216: error: cannot convert ‘int’ to ‘void(int)throw ()’ in assignment piramide.cpp:216: warning: pointer to a function used in arithmetic piramide.cpp:216: error: assignment of read-only location ‘*(exit + 1u)’ piramide.cpp:216: error: cannot convert ‘int’ to ‘void(int)’ in assignment piramide.cpp:218: warning: pointer to a function used in arithmetic piramide.cpp:218: error: assignment of function ‘void exit(int)’ piramide.cpp:218: error: cannot convert ‘int’ to ‘void(int)throw ()’ in assignment piramide.cpp:218: warning: pointer to a function used in arithmetic piramide.cpp:218: error: assignment of read-only location ‘*(exit + 1u)’ piramide.cpp:218: error: cannot convert ‘int’ to ‘void(int)’ in assignment

nr.resulttimemessage