0
Adding days to current Date using structure
https://code.sololearn.com/cA5A8A3a2362 the question is: Create a structure named Date having day, month and year as its elements. Store the current date in the structure. Now add 45 days to the current date and display the final date. (from codedope) In line 103 of this code,there is this error that expected primary expression before struct.What is the actual problem here?How can I fix it?
4 Réponses
+ 2
On line 103
int offset1 = offsetDays(t); do this
But there are also some warnings and logical error cause ans is wrong
+ 1
Thank you @Martin
0
Ok thanks