.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 635256

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 635256
Concurent: Adrian Pascalescu (overanalytcl)Progres: evaluare completă
Problemă: 123Punctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 11 mai 2024, 14:21
Mesaj evaluator:
In file included from /usr/include/c++/4.4/type_traits:35, from 123.cpp:6: /usr/include/c++/4.4/c++0x_warning.h:31:2: error: #error This file requires compiler and library support for the upcoming ISO C++ standard, C++0x. This support is currently experimental, and must be enabled with the -std=c++0x or -std=gnu++0x compiler options. 123.cpp: In function 'void cplusplus11()': 123.cpp:28: error: expected initializer before ':' token 123.cpp:31: warning: C++0x auto only available with -std=c++0x or -std=gnu++0x 123.cpp:32: error: expected primary-expression before 'auto' 123.cpp:32: error: expected ')' before 'auto' 123.cpp:32: warning: 'auto' will change meaning in C++0x; please remove it 123.cpp:32: error: ISO C++ forbids declaration of 'z' with no type 123.cpp:32: warning: unused variable 'z' 123.cpp:33: error: 'z' was not declared in this scope 123.cpp:27: warning: unused variable 'arr' 123.cpp: In function 'void cplusplus14()': 123.cpp:37: warning: 'auto' will change meaning in C++0x; please remove it 123.cpp:37: error: ISO C++ forbids declaration of 'lambda' with no type 123.cpp:37: error: expected primary-expression before '[' token 123.cpp:37: error: expected primary-expression before ']' token 123.cpp:37: warning: C++0x auto only available with -std=c++0x or -std=gnu++0x 123.cpp:37: error: expected primary-expression before 'auto' 123.cpp:37: warning: C++0x auto only available with -std=c++0x or -std=gnu++0x 123.cpp:37: error: expected primary-expression before 'auto' 123.cpp:37: error: expected ',' or ';' before '{' token 123.cpp:38: error: 'lambda' cannot be used as a function 123.cpp: In function 'void cplusplus17()': 123.cpp:42: error: in C++98 'pair' must be initialized by constructor, not by '{...}' 123.cpp:42: warning: extended initializer lists only available with -std=c++0x or -std=gnu++0x 123.cpp:43: warning: 'auto' will change meaning in C++0x; please remove it 123.cpp:43: error: expected unqualified-id before '[' token 123.cpp:44: error: 'num' was not declared in this scope 123.cpp:44: error: 'str' was not declared in this scope 123.cpp: In function 'void cplusplus20()': 123.cpp:48: error: expected primary-expression before 'template' 123.cpp:48: error: expected ';' before 'template' 123.cpp:50: error: 'Integral' was not declared in this scope 123.cpp:50: error: expected primary-expression before 'int' 123.cpp:50: error: expected ';' before 'int'
ajutor