im tryin 2 convert 1d to 2d...then using a pointer ....point to all the words.....similarly for second string....compare

but 1d-2d program isnt workin

void main()
{
char s1[]={"This is my place"},sa[50][10] ;
int i=0,j=0,k=0;
clrscr();
while(s1[k]!='\0')
{
if((s1[k]!=' ') || (s1[k]!='\n') || (s1[k]!='\t'))
{
sa[i][j]=s1[k];
j++;
}
else
{
sa[i][j]='\0';
i++;
j=0;
}
k++;
}
sa[i][j]='\0';



any other idea......can i xtract word by word from a file