I have initialized an array of strings. I want to output the individual strings via a while loop. I pass a function the pointer to the array of strings. In my current version I only position on the individual chars, I cant get it..
char * Menuepunkte[] =
{
"Exit",
"Start-Quiz",
"Random-Questions",
"Load-Questions",
"Generator"
};
int MENUE (char * Unterpunkte)
{
while (Unterpunkte != NULL)
{
printf("In: %s len: %i \n", Unterpunkte, strlen(Unterpunkte));
++Unterpunkte;
while(getchar()!='\n');
}
..