Ask your own question, for FREE!
Computer Science 17 Online
OpenStudy (christos):

C++, Arrays Error ! What is this ? How do I fix it ? http://screencast.com/t/ji0STbp48Mt

OpenStudy (atlas):

can you put your file as an attachment.........There are many sites blocked here :(

OpenStudy (christos):

ok

OpenStudy (christos):

If you need any more info please tell me

OpenStudy (atlas):

you cannot allocate the size of an array during runtime

OpenStudy (atlas):

you have to give a constant as size in the declaration of an array like A[10]

OpenStudy (christos):

thanks man

OpenStudy (atlas):

there are ways to allocate the size of an array during runtime using functions like malloc

OpenStudy (atlas):

you are welcome

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!