an aray of pointers

how does one set an array of pointers to be empty. I have declared a char array with the following syntax

char fisrtname[65]=""; and when i cout this it is empty

i try to declare an array of pointers like so

char *gettype[8]=""; but it says invalid initializer? my goal is to have an empty array and then using an index copy character arrays into each pointer in my getype array. I need my getype array of pointers to be empty. Any assistance would be appreciated
Set each one in the array to "".

1
2
3
4
5
6
7
const int ARRAY_SIZE = 8;
char* gettype[ARRAY_SIZE];

for(int i=0; i<ARRAY_SIZE; i++)
{
   gettype[i] = "";
}
The simplest way in C++ is

char *gettype[8] = {};
Topic archived. No new replies allowed.