0_0_30274013_6944.cpp: In function 'void Mult(int*, int*)':
0_0_30274013_6944.cpp:15:13: error: 'LEN' was not declared in this scope
int s = LEN;
^
0_0_30274013_6944.cpp:22:13: error: 'c' was not declared in this scope
memset (c, 0, sizeof (c));
^
0_0_30274013_6944.cpp: In function 'void Put(int*)':
0_0_30274013_6944.cpp:39:13: error: 'LEN' was not declared in this scope
int i = LEN;
^
0_0_30274013_6944.cpp: In function 'bool Smaller(int*, int*)':
0_0_30274013_6944.cpp:48:16: error: 'LEN' was not declared in this scope
for (int i=LEN-1; i>=0; --i) {
^
0_0_30274013_6944.cpp: In function 'void Shift(int*, int)':
0_0_30274013_6944.cpp:61:25: error: 'LEN' was not declared in this scope
for (int i=0; i<LEN-sh; ++i) {
^
0_0_30274013_6944.cpp:64:20: error: 'LEN' was not declared in this scope
for (int i=LEN-sh; i<LEN; ++i) {
^
0_0_30274013_6944.cpp:68:20: error: 'LEN' was not declared in this scope
for (int i=LEN-1; i>=sh; --i) {
^
0_0_30274013_6944.cpp: In function 'void Div(int*, int*)':
0_0_30274013_6944.cpp:78:13: error: 'LEN' was not declared in this scope
int i = LEN;
^
0_0_30274013_6944.cpp:92:13: error: 'res' was not declared in this scope
memset (res, 0, sizeof (res));
^
0_0_30274013_6944.cpp: In function 'void Sub(int*, int*)':
0_0_30274013_6944.cpp:116:21: error: 'LEN' was not declared in this scope
for (int i=0; i<LEN; ++i) {
^
0_0_30274013_6944.cpp: At global scope:
0_0_30274013_6944.cpp:126:15: error: 'LEN' was not declared in this scope
int fac[FACS][LEN];
^
0_0_30274013_6944.cpp: In function 'int main()':
0_0_30274013_6944.cpp:129:13: error: 'fac' was not declared in this scope
memset (fac, 0, sizeof (fac));
^
0_0_30274013_6944.cpp:148:24: error: 'LEN' was not declared in this scope
static int res[LEN];
^
0_0_30274013_6944.cpp:149:17: error: 'res' was not declared in this scope
memcpy (res, fac[sum], sizeof (res));
^
0_0_30274013_6944.cpp:151:36: error: ISO C++ forbids applying 'sizeof' to an expression of function type [-fpermissive]
memset (div, 0, sizeof (div));
^
0_0_30274013_6944.cpp:151:37: error: invalid conversion from 'div_t (*)(int, int) {aka _div_t (*)(int, int)}' to 'void*' [-fpermissive]
memset (div, 0, sizeof (div));
^
In file included from GCC4.9.2/x86_64-w64-mingw32/include/c++/cstring:42:0,
from 0_0_30274013_6944.cpp:2:
GCC4.9.2/x86_64-w64-mingw32/include/string.h:43:18: note: initializing argument 1 of 'void* memset(void*, int, size_t)'
void * __cdecl memset(void *_Dst,int _Val,size_t _Size);
^
0_0_30274013_6944.cpp:152:16: error: assignment of function 'div_t div(int, int)'
div[0] = 1;
^
0_0_30274013_6944.cpp:152:16: error: cannot convert 'int' to 'div_t(int, int) {aka _div_t(int, int)}' in assignment
|