Borderou de evaluare (job #1231393)
Utilizator | Robert Mandache Hypherion | Data | 20 septembrie 2014 14:15:37 |
---|---|---|---|
Problema | Custi | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:17: error: ‘System’ is not a namespace-name
using namespace System;
^
user.cpp:6:23: error: expected namespace-name before ‘;’ token
using namespace System;
^
user.cpp:16:16: error: ‘System’ was not declared in this scope
int main(array<System::String ^> ^args)
^
user.cpp:16:32: error: wrong number of template arguments (1, should be 2)
int main(array<System::String ^> ^args)
^
In file included from /usr/include/c++/4.8/tuple:39:0,
from /usr/include/c++/4.8/functional:55,
from /usr/include/c++/4.8/bits/stl_algo.h:66,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:4:
/usr/include/c++/4.8/array:81:12: error: provided for ‘template<class _Tp, unsigned int _Nm> struct std::array’
struct array
^
user.cpp:16:34: error: expected ‘,’ or ‘...’ before ‘^’ token
int main(array<System::String ^> ^args)
^
user.cpp:16:5: warning: ‘int main(int)’ takes only zero or two arguments [-Wmain]
int main(array<System::String ^> ^args)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !