Borderou de evaluare (job #1104058)
Utilizator | Data | 10 februarie 2014 13:18:20 | |
---|---|---|---|
Problema | Plagiat | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14:28: error: request for member ‘xx’ in ‘v[i]’, which is of non-class type ‘punct [405]’
scanf("%d%d",&v[i].xx,&v[i].yy);
^
user.cpp:14:37: error: request for member ‘yy’ in ‘v[i]’, which is of non-class type ‘punct [405]’
scanf("%d%d",&v[i].xx,&v[i].yy);
^
user.cpp: In function ‘int main()’:
user.cpp:33:31: error: request for member ‘xx’ in ‘v[i]’, which is of non-class type ‘punct [405]’
ct[k].xx=v[i].xx-v[j].xx;
^
user.cpp:33:39: error: request for member ‘xx’ in ‘v[j]’, which is of non-class type ‘punct [405]’
ct[k].xx=v[i].xx-v[j].xx;
^
user.cpp:34:31: error: request for member ‘yy’ in ‘v[i]’, which is of non-class type ‘punct [405]’
ct[k].yy=v[i].yy-v[j].yy;
^
user.cpp:34:39: error: request for member ‘yy’ in ‘v[j]’, which is of non-class type ‘punct [405]’
ct[k].yy=v[i].yy-v[j].yy;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !