How could I make a function that accepts ten lines of user-input text and stores the enteres lines as ten strings in a pointer array?
How could I make a function that accepts ten lines of user-input text and stores the enteres lines as ten strings in a pointer array?
I think it's just like reading normal strings but you should read untill you find '\n' so you know that it's the end of line, then store it in the string array...
Hope that helps
Sorry I don't have time to write the code.