Need some help with my array code.

Thanks for the help guys :D
Last edited on
> Have i done this correctly?

have you been able to run it ?
c++ does not support variable length Arrays, so line 48 will give error

Advice: Use Vectors or go the Dynamic memory Allocation route
> c++ does not support variable length Arrays, so line 48 will give error

actually gcc allows it! (i think not by C++ standard though)
https://gcc.gnu.org/onlinedocs/gcc/Variable-Length.html
Topic archived. No new replies allowed.