Thank you for help...
It might be a stupid question, but will this work out with any date?
Thank you for help...
It might be a stupid question, but will this work out with any date?
all this does is print the values in the structure, which I supplied
does it work with any date?Code:today.day = 30; today.year = 2006; strcpy(today.month,"November");
if you mean can you change those values to any date, yes you should be able to.
the month can be 10 characters long, since I was too lazy to figure out which month has the most letters in it. And actually count how many. So as long as no month has more than 9 letters it should be fine.