Why does my compiler (Turbo c++ v 3) return errors?
Posting the error messages is often helpful.
char str_arr[sslen/2][sslen];
You cannot declare an array with non-constant dimensions.
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314
Now it "Cannot convert 'char[300] *' to 'char * *' in function split(char *,char)".
Very true. A pointer to a pointer is not the same as an array of pointers.
If I had a better idea of what the expected input and output of the function were, I could give better help. *Sorry*
Are you familiar with the STL?
Dave Sinkula
long time no c
5,058 posts since Apr 2004
Reputation Points: 2,780
Solved Threads: 314