Support Board
Date/Time: Fri, 18 Jul 2025 23:36:57 +0000
Post From: ACSIL help with max()
[2023-05-15 10:54:24] |
User92573 - Posts: 570 |
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 |