I would like to copy lines from stdin to an array of character pointers. For example if the user entered the following "the\nquick\nbrown\nfox" then I would like to have an array that looks like
arr[0] = "the" arr[1] = "quick" arr[2] = "brown" arr[3] = "fox"
Any pointers?