Support Board
Date/Time: Thu, 28 Nov 2024 10:47:07 +0000
Post From: ACSIL help with max()
[2023-05-15 10:54:24] |
User92573 - Posts: 530 |
Dear Support Board I'm hoping someone can help with this error message. How can ... int& iGetMax = sc.GetPersistentInt(1); iGetMax = max(2,3,4,5); // I'm expecting the largest element, iGetMax = 5. Produce " warning C4002: too many actual parameters for macro 'max'" Obviously a simple error but not sure why it's occurring. Any help appreciated. Many thanks |