If I want to read in a string of arbitrary length from the command line, what\'s the best way of going about it?
At the moment I\'m doing this:
char
Use realloc() to allocate the buffer and extend it when it's full.
realloc()