Support Board
Date/Time: Wed, 05 Nov 2025 07:32:24 +0000
Post From: ACSIL help with max()
| [2023-05-15 10:54:24] |
| User92573 - Posts: 574 |
|
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 |
