problem with array and led strip neopixel

i’m getting start with arduino and C language.
my little project:
control 8 led 1meter strip adafruit neopixel with my arduino uno.

first, we have to declare a name for each strip we are usig as folowing

Adafruit_NeoPixel name = Adafruit_NeoPixel(60, PIN, NEO_GRB)

as I have 8 led strip, i’d like to put all those name in an array.
so i did:

char strip[] = "abcdefgh"

with “a” the name of the first strip
“b” the name of the second etc…

first question, is it possible to use a for loop before the void setup?
anyway, the i put:

Adafruit_NeoPixel a = Adafruit_NeoPixel(60, PinColone[1], NEO_GRB);
Adafruit_NeoPixel b = Adafruit_NeoPixel(60, PinColone[2], NEO_GRB);
Adafruit_NeoPixel c = Adafruit_NeoPixel(60, PinColone[3], NEO_GRB);
Adafruit_NeoPixel d = Adafruit_NeoPixel(60, PinColone[4], NEO_GRB);
Adafruit_NeoPixel e = Adafruit_NeoPixel(60, PinColone[5], NEO_GRB);
Adafruit_NeoPixel f = Adafruit_NeoPixel(60, PinColone[6], NEO_GRB);
Adafruit_NeoPixel g = Adafruit_NeoPixel(60, PinColone[7], NEO_GRB);
Adafruit_NeoPixel h = Adafruit_NeoPixel(60, PinColone[8], NEO_GRB);

problem is in my void setup, I have to start communication with my strip by


or when i do:

for (int i = 0; i <= 7; i++) {

it returns me :error: request for member ‘begin’ in ‘strip*’, which is of non-class type ‘char’*
i really don’t understand how i can solve this…
sorry for my bad english, i’m french

as I have 8 led strip, i’d like to put all those name in an array.

You are planning a very strange array with very strange named indexing.

Normally it should look like that:

#include <Adafruit_NeoPixel.h>

Adafruit_NeoPixel pixelStrings[] = {
  Adafruit_NeoPixel(32, 2, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 3, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 4, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 5, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 6, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 7, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 8, NEO_GRB + NEO_KHZ800),
  Adafruit_NeoPixel(32, 9, NEO_GRB + NEO_KHZ800),

#define NUMSTRIPS (sizeof(pixelStrings)/sizeof(pixelStrings[0]))

void setup() {
  for(int i=0; i<NUMSTRIPS; i++)
    pixelStrings[i].show(); // Initialize all pixels to 'off'

void loop() {

And each element of the pixelStrings array is accessed by its index number.

thank you very much for this answer,
i'm going to try this,

no more error in my code,
Thanks again!