Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Calculating days between two dates in C
#11
SaptaZapta Wrote:Look at the original code. It modifies year1.

I know that - but while we're here, some code style should be learnt, shouldn't it? There's no reason to modify year1 in this case, thus you shouldn't want to - it makes it harder to reason around the code for others later on.
Reply


Messages In This Thread
Calculating days between two dates in C - by Nikkey - 2011-12-01, 09:40 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)