Borderou de evaluare (job #1376399)
Utilizator | Data | 5 martie 2015 17:18:20 | |
---|---|---|---|
Problema | A+B | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:6: warning: ISO C++ forbids declaration of ‘main’ with no type [-Wreturn-type]
main() {
^
user.cpp: In function ‘int main()’:
user.cpp:14:36: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
if ((shm = shmat(shmid, NULL, 0)) == (void *) -1) { return 1; } /*Attach it */
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !