Support Board
Date/Time: Thu, 06 Feb 2025 23:51:05 +0000
Post From: Compile error 2098
[2020-05-06 16:57:49] |
Ackin - Posts: 1865 |
You will maybe have a problem with this line: if (ActualTimeSpan > 1*DAYS * (MinimumRequiredTimePeriodInDayAsPercent * 0.01)) I'm not sure there.. I would probably use SCDateTime::DAYS(MinimumRequiredTimePeriodInDayAsPercent * 0.01) or command InitialStartDateTime.SubtractDays() //referenced in the header file scdatetime.h what is it inline SCDateTime& SCDateTime::SubtractDays(int Days) { m_dt -= Days*DAYS; return *this; } Good luck ;) *note This part is weird .... I don't know why the developer refers to percentages. I would put a fixed time unit there ... but it doesn't matter ... Date Time Of Last Edit: 2020-05-06 17:03:19
|