I am having trouble scanning multiple items into an array. I am trying to scan anywhere up to 10 items into a multidimensionalarray. The data is then written to a text file seperated by commas. If there are not 10 items commas are placed anyway.
so I have something like
char info[10][50];
declared
and I need help figuring out how to scan the items, so a user can stop entering in info at anytime. I know how to write files to text files, but I need a way to write it like this
say the 3 words scooby, dooby, + doo are entered
i need the text file to show this:
scooby,dooby,doo,,,,,,,,
Any help would be much appreciated