Borderou de evaluare (job #91680)

Utilizator avatar maria.nastase Nastase Maria Alexandra maria.nastase IP ascuns
Problemă Criptic (clasa a 7-a) Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 24 nov. 2014 14:59:28 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘Pair* createPair(char*, char)’: user.cpp:30:7: error: request for member ‘orderNumber’ in ‘pair’, which is of non-class type ‘Pair*’ user.cpp:31:7: error: request for member ‘character’ in ‘pair’, which is of non-class type ‘Pair*’ user.cpp: In function ‘void orderAllPairsByNumber(Pair**, int)’: user.cpp:39:16: error: request for member ‘orderNumber’ in ‘*(pairs + ((unsigned int)(((unsigned int)i) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp:39:43: error: request for member ‘orderNumber’ in ‘*(pairs + ((((unsigned int)i) + 0xffffffffffffffffffffffffffffffffu) * 4u))’, which is of non-class type ‘Pair*’ user.cpp: In function ‘void printMessage(Pair**, int, FILE*)’: user.cpp:70:15: error: request for member ‘orderNumber’ in ‘*(pairs + ((unsigned int)(((unsigned int)i) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp:70:43: error: request for member ‘orderNumber’ in ‘*(pairs + ((((unsigned int)i) + 1u) * 4u))’, which is of non-class type ‘Pair*’ user.cpp:71:19: error: request for member ‘character’ in ‘*(pairs + ((unsigned int)(((unsigned int)i) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp:75:33: error: request for member ‘orderNumber’ in ‘*(pairs + ((unsigned int)(((unsigned int)j) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp:75:57: error: request for member ‘orderNumber’ in ‘*(pairs + ((unsigned int)(((unsigned int)i) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp:79:20: error: request for member ‘character’ in ‘*(pairs + ((unsigned int)(((unsigned int)k) * 4u)))’, which is of non-class type ‘Pair*’ user.cpp: In function ‘Pair** readAllPairsFromFile(FILE*, int)’: user.cpp:62:48: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]