|
|||||||||||||||
ultima problemă
grupă: mică
sursă: OMI 2016 ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
|
Sursa 528657
Mesaj evaluator:
antena.cpp:8: error: ISO C++ forbids initialization of member 'x'
antena.cpp:8: error: making 'x' static
antena.cpp:8: error: ISO C++ forbids in-class initialization of non-const static member 'x'
antena.cpp:8: error: ISO C++ forbids initialization of member 'y'
antena.cpp:8: error: making 'y' static
antena.cpp:8: error: ISO C++ forbids in-class initialization of non-const static member 'y'
antena.cpp: In function 'double Dist(punct, punct)':
antena.cpp:17: error: 'sqrt' is not a member of 'std'
antena.cpp: In function 'int main()':
antena.cpp:48: error: call of overloaded 'abs(double)' is ambiguous
/usr/include/stdlib.h:766: note: candidates are: int abs(int)
/usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int)
/usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int)
antena.cpp:49: error: call of overloaded 'abs(double)' is ambiguous
/usr/include/stdlib.h:766: note: candidates are: int abs(int)
/usr/include/c++/4.4/cstdlib:139: note: long int std::abs(long int)
/usr/include/c++/4.4/cstdlib:170: note: long long int __gnu_cxx::abs(long long int)
antena.cpp:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
antena.cpp:29: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
antena.cpp:56: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result
|
||||||||||||||
ajutor |