Since there is no string type in C how do read in a string? For example:
I want to prompt the user for the name of a file. Using the name of the file I want to open the file.
Since I won't know the name of the file in advance I can't store the characters in an array because I wont know the size of the string. Is there a function that does this that I don't know about?