Compile Error
/in/ex4.cpp: In function 'int main()': /in/ex4.cpp:20:28: error: ISO C++ forbids variable length array 'elves' [-Werror=vla] Elves elves[numberElves]; ^ /in/ex4.cpp:26:30: error: ISO C++ forbids variable length array 'humans' [-Werror=vla] Humans humans[numberHuman]; ^ /in/ex4.cpp:31:34: error: ISO C++ forbids variable length array 'hobbits' [-Werror=vla] Hobbits hobbits[numberHobbits]; ^ cc1plus: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Homework 8
- Language
- C++
- Submit At
- 2022-07-30 20:54:49
- Judged At
- 2022-08-02 15:54:49
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes