How do I use arrays?

Feb 27, 2016 at 9:32pm
I am new to programming and am having trouble understanding how arrays are supposed to work. I have read the forum postings on arrays from multiple websites to include this one but can not grasp how they are supposed to work within a program.

Does anyone know of a good tutorial online where they show you step by step how an array works?

Last edited on Feb 28, 2016 at 1:53am
Feb 27, 2016 at 11:04pm
it's wrong way

you have two unknown things : length of each string and number of strings
you cant proceed with it.
more clear is
const char names[][] ={ ,..,..,...}
form
Not workin

but
char names[][10] = ...

should work
Topic archived. No new replies allowed.