Array must be indexed
#2

With that code you store a string inside an integer, a string of characters is a 1 dimension vector with a size "X" that holds the ammount of characters you input, which is also known as an array.

So if i did not missunderstand your code, it should be

new Model[SIZE];

and same with the rest, SIZE is a number, choose it yourself.
Reply


Messages In This Thread
Array must be indexed - by zxc1 - 24.12.2011, 17:40
Respuesta: Array must be indexed - by kirk - 24.12.2011, 17:47
Re: Array must be indexed - by zxc1 - 24.12.2011, 17:52
Re: Array must be indexed - by zxc1 - 24.12.2011, 19:27

Forum Jump:


Users browsing this thread: 1 Guest(s)