create an array of character sets

I am a beginner. I want to create a vector of character sets which i want to address each element directly. I can define char kegel[]="02a"; but I would like to create a vector of such chars. Each char is a mixture of characters and numbers. It should look like e.g. char kegel[]="02a", "022a", "03"; But this does not work because kegel is a one dimensional array.
How can I do that in c++?
like so:const char *kegel[]={"02a", "022a", "03"};
many thanks for the hint. my problem is solved. best regards hans
Topic archived. No new replies allowed.