how would i increase the array number?
like array[++0]?

use a "for" statement.

eg:

for(i=0; i<10; i++){
// Do whatever here
}

This code will increment the "i" value by 1 each time until it hits 10 or whatever value specified.

Regards,
Alex.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.