|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 631196
Mesaj evaluator:
test.cpp:7: error: ISO C++ forbids initialization of member 'data'
test.cpp:7: error: making 'data' static
test.cpp:7: error: invalid in-class initialization of static data member of non-integral type 'char*'
test.cpp:8: error: ISO C++ forbids initialization of member 'len'
test.cpp:8: error: making 'len' static
test.cpp:8: error: ISO C++ forbids in-class initialization of non-const static member 'len'
test.cpp:9: error: ISO C++ forbids initialization of member 'sgn'
test.cpp:9: error: making 'sgn' static
test.cpp:9: error: ISO C++ forbids in-class initialization of non-const static member 'sgn'
test.cpp: In constructor 'bigInt::bigInt(int)':
test.cpp:85: error: 'data' was not declared in this scope
test.cpp:86: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:93: error: 'data' was not declared in this scope
test.cpp:99: error: 'data' was not declared in this scope
test.cpp: In constructor 'bigInt::bigInt(long long int)':
test.cpp:106: error: 'data' was not declared in this scope
test.cpp:107: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:114: error: 'data' was not declared in this scope
test.cpp:120: error: 'data' was not declared in this scope
test.cpp: In constructor 'bigInt::bigInt(const char*)':
test.cpp:127: error: 'data' was not declared in this scope
test.cpp:128: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:135: error: 'data' was not declared in this scope
test.cpp:139: error: 'data' was not declared in this scope
test.cpp: In copy constructor 'bigInt::bigInt(const bigInt&)':
test.cpp:145: error: 'data' was not declared in this scope
test.cpp:145: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:148: error: 'data' was not declared in this scope
test.cpp:149: error: 'const class bigInt' has no member named 'data'
test.cpp: In destructor 'bigInt::~bigInt()':
test.cpp:153: error: 'data' was not declared in this scope
test.cpp: In function 'std::istream& operator>>(std::istream&, bigInt&)':
test.cpp:164: error: 'class bigInt' has no member named 'data'
test.cpp:165: error: 'class bigInt' has no member named 'data'
test.cpp:168: error: 'class bigInt' has no member named 'data'
test.cpp:169: error: 'class bigInt' has no member named 'data'
test.cpp: In function 'std::ostream& operator<<(std::ostream&, const bigInt&)':
test.cpp:177: error: 'const class bigInt' has no member named 'data'
test.cpp: In member function 'bigInt& bigInt::operator=(const bigInt&)':
test.cpp:183: error: 'data' was not declared in this scope
test.cpp:183: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:186: error: 'data' was not declared in this scope
test.cpp:187: error: 'const class bigInt' has no member named 'data'
test.cpp: In member function 'bigInt& bigInt::operator=(int)':
test.cpp:192: error: 'data' was not declared in this scope
test.cpp:193: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:200: error: 'data' was not declared in this scope
test.cpp:206: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt& bigInt::operator=(long long int)':
test.cpp:214: error: 'data' was not declared in this scope
test.cpp:215: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:222: error: 'data' was not declared in this scope
test.cpp:228: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt::operator int()':
test.cpp:238: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt::operator long long int()':
test.cpp:246: error: 'data' was not declared in this scope
test.cpp: In function 'bool operator==(const bigInt&, const bigInt&)':
test.cpp:254: error: 'const class bigInt' has no member named 'data'
test.cpp:254: error: 'const class bigInt' has no member named 'data'
test.cpp: In function 'bool operator>(const bigInt&, const bigInt&)':
test.cpp:270: error: 'const class bigInt' has no member named 'data'
test.cpp:270: error: 'const class bigInt' has no member named 'data'
test.cpp:271: error: 'const class bigInt' has no member named 'data'
test.cpp:271: error: 'const class bigInt' has no member named 'data'
test.cpp: In function 'bool operator<(const bigInt&, const bigInt&)':
test.cpp:285: error: 'const class bigInt' has no member named 'data'
test.cpp:285: error: 'const class bigInt' has no member named 'data'
test.cpp:286: error: 'const class bigInt' has no member named 'data'
test.cpp:286: error: 'const class bigInt' has no member named 'data'
test.cpp: In function 'bool operator==(const bigInt&, int)':
test.cpp:301: warning: suggest parentheses around comparison in operand of '!='
test.cpp:305: error: 'const class bigInt' has no member named 'data'
test.cpp: In member function 'bigInt bigInt::operator-()':
test.cpp:346: error: 'class bigInt' has no member named 'data'
test.cpp: In member function 'bigInt& bigInt::operator+=(const bigInt&)':
test.cpp:356: error: 'data' was not declared in this scope
test.cpp:357: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:363: error: 'data' was not declared in this scope
test.cpp:363: error: 'const class bigInt' has no member named 'data'
test.cpp:370: error: 'data' was not declared in this scope
test.cpp:371: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:381: error: 'data' was not declared in this scope
test.cpp:381: error: 'const class bigInt' has no member named 'data'
test.cpp:382: error: 'const class bigInt' has no member named 'data'
test.cpp:382: error: 'data' was not declared in this scope
test.cpp:387: error: 'data' was not declared in this scope
test.cpp:397: error: 'const class bigInt' has no member named 'data'
test.cpp:397: error: 'const class bigInt' has no member named 'data'
test.cpp:397: error: 'const class bigInt' has no member named 'data'
test.cpp:398: error: 'data' was not declared in this scope
test.cpp:399: error: 'data' was not declared in this scope
test.cpp:402: error: 'data' was not declared in this scope
test.cpp:404: error: 'data' was not declared in this scope
test.cpp:405: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:375: warning: label 'diffSignAdd' defined but not used
test.cpp: In member function 'bigInt& bigInt::operator-=(const bigInt&)':
test.cpp:419: error: 'data' was not declared in this scope
test.cpp:419: error: 'const class bigInt' has no member named 'data'
test.cpp:420: error: 'const class bigInt' has no member named 'data'
test.cpp:420: error: 'data' was not declared in this scope
test.cpp:425: error: 'data' was not declared in this scope
test.cpp:435: error: 'const class bigInt' has no member named 'data'
test.cpp:435: error: 'const class bigInt' has no member named 'data'
test.cpp:435: error: 'const class bigInt' has no member named 'data'
test.cpp:436: error: 'data' was not declared in this scope
test.cpp:437: error: 'data' was not declared in this scope
test.cpp:440: error: 'data' was not declared in this scope
test.cpp:442: error: 'data' was not declared in this scope
test.cpp:443: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:447: error: 'data' was not declared in this scope
test.cpp:448: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:454: error: 'data' was not declared in this scope
test.cpp:454: error: 'const class bigInt' has no member named 'data'
test.cpp:461: error: 'data' was not declared in this scope
test.cpp:462: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp: In member function 'bigInt& bigInt::operator*=(const bigInt&)':
test.cpp:472: error: 'data' was not declared in this scope
test.cpp:472: error: 'const class bigInt' has no member named 'data'
test.cpp:480: error: variable-sized object 'help' may not be initialized
test.cpp:483: error: 'data' was not declared in this scope
test.cpp:483: error: 'const class bigInt' has no member named 'data'
test.cpp:499: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt& bigInt::operator/=(int)':
test.cpp:511: error: 'data' was not declared in this scope
test.cpp:516: error: 'data' was not declared in this scope
test.cpp:518: error: 'data' was not declared in this scope
test.cpp:519: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp: In member function 'bigInt& bigInt::operator%=(int)':
test.cpp:530: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt& bigInt::operator/=(long long int)':
test.cpp:545: error: 'data' was not declared in this scope
test.cpp:550: error: 'data' was not declared in this scope
test.cpp:552: error: 'data' was not declared in this scope
test.cpp:553: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp: In member function 'bigInt& bigInt::operator%=(long long int)':
test.cpp:564: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt& bigInt::operator++()':
test.cpp:608: error: 'data' was not declared in this scope
test.cpp:612: error: 'data' was not declared in this scope
test.cpp:613: error: type '<type error>' argument given to 'delete', expected pointer
test.cpp:616: error: 'data' was not declared in this scope
test.cpp: In member function 'bigInt& bigInt::operator--()':
test.cpp:630: error: 'data' was not declared in this scope
test.cpp:631: error: 'data' was not declared in this scope
test.cpp:637: error: type '<type error>' argument given to 'delete', expected pointer
|
||||||||||||||
ajutor |