User Profile
Collapse
-
Thanks for the help and explanation Banfa. I'm working off of The C Programming Language , so my programming methods might have been a tad bit old, heh. -
Reading array of strings from file with char pointer array in C
Question: Is it possible to use a char pointer array ( char *<name>[] ) to read an array of strings from a file in C?
Given: code is written in ANSI C; I know the exact nature of the strings to be read (the file will be written by only this program); file can be either in text or binary (preferably binary as the files may be read repeatedly); the amount and size of strings in the array won't be known until run time (in the example...
No activity results to display
Show More
Leave a comment: