Hi,
I have file in while following line are present
dir1 dir2 dir3 dir2 file1 file2
dir1_file1 dir1_file2\tdir 2_file1 dir2_file2\tdir 3_file1
...
...
reading a one line at a time from a file,
i'm using the function strtok_r() to split the each line with delimiter whilespace and '\t' character.
How can differentiate that 2 words are split by whitespace or '\t' character.
Is there any work around for this.
Plz let me know.
Thanks.
I have file in while following line are present
dir1 dir2 dir3 dir2 file1 file2
dir1_file1 dir1_file2\tdir 2_file1 dir2_file2\tdir 3_file1
...
...
reading a one line at a time from a file,
i'm using the function strtok_r() to split the each line with delimiter whilespace and '\t' character.
How can differentiate that 2 words are split by whitespace or '\t' character.
Is there any work around for this.
Plz let me know.
Thanks.
Comment