how can i allow a user to keep putting in a sentence until the user hits '#' to quit or enters 20 sentences.
if (fgets(&buffer[0], len1 +1, stdin) != NULL)
all the examples i see are to read off of a file and i dont want to "cin >> "20 times...
Last edited on