zlib
zlib copied to clipboard
pass 2D array to gzopen
Hi,
I have stored my file names in char **fileNames, which includes a list of the complete path to the file. those names' lengths could vary. See example below
/d1/d2/d3/a1.txt
/d1/d2/d3/aa2.txt
/d1/d2/d3/aaa3.txt
If I use gzopen("/d1/d2/d3/a1.txt", "r"), everything works fine. But gzopen(fileNames[0], "r") failed on me.
Any suggestion or insight would be appreciated.