I have array[2][3]= {e-> id = m, m-> t|e|null};
I am trying to split the string in both ways: if it founds ' " " ' (empty space) it should split and if it founds "|" then it also again splits. I know this is not correct but any one who can help me?
for i=0 t0 row
for j=0 to col
c41= a[i][j].c_str();
strcpy(pch55,c41);
pch5=strtok(pch55,"|" || " "); // is it correct???
for ( int u=0;pch5 != NULL;u++)
{
z33[u]= pch5;
pch5 = strtok (NULL,"|" || " "); //is it correct??
}