Hey Guys! I am writing a program on C++ with linux that will require the user to use the program by typing:
./contactadd 12 June 2010 Jessica Daniels Description
It is a contact saver, I think I have the birthday (eg. 12 June 2010) saved and sorted, however I want the name and description to be converted to one string or something like that because I don't know how many words will make up the description.
as you can see the user can only input one word for the description and name.
How could I make it so the user can input as much words for the description as she/he wants?
you said "argc is the size of the argv array, so you can get the date and such, then loop through the remaining arguments, appending them to a string."