#include <iostream>
using namespace std;

#include <string.h>
#include<vector>
int main ()
{
  char str[] ="22/33/44";
  char * pch;
  cout<<"Splitting string into tokens:\n"<<str;
  pch = strtok (str,"/");
vector<int> vec;
  while (pch != NULL)
  {
	int val = atoi(pch);
    cout<<"   "<<val;
	vec.push_back(val);
    pch = strtok (NULL, "/");
  }
return 0;
}