#include <stdio.h>
#include <string.h>

#define TRENNZEICHEN "/"

int main ()
{
  char str[] ="BT9/Raum903/PC10/;";
  char * pch;
  char * pFelder[5];
  int j=0;
  
  printf ("Str: \"%s\" \n",str);
  pch = strtok (str,TRENNZEICHEN);
  pFelder[j++] = pch;
  while (pch != NULL)
  {
    //printf ("%s\n",pch);
    pch = strtok (NULL, TRENNZEICHEN);
    pFelder[j++] = pch;
  }
  for(int i=0; i < j-2; i++) {
    printf ("%s \n",pFelder[i]);
  }
  return 0;
}