Borderou de evaluare (job #2008748)
Utilizator | Emanuel Nrx StarGold2 | Data | 7 august 2017 15:38:32 |
---|---|---|---|
Problema | Dmg | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:213:31: error: invalid initialization of reference of type ‘std::vector<Point>&’ from expression of type ‘Point’
for (vector<Point> &pol : pol) {
^
user.cpp: In member function ‘void Reader::advance()’:
user.cpp:13:38: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, SIZE, 1, file);
^
user.cpp: In constructor ‘Reader::Reader(const char*)’:
user.cpp:25:34: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fread(buf, SIZE, 1, file);
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !