+ 1

I am get error in this line. I.e not enough actual parameters for macro 'max'. Can anyone help me.

std::cin.ignore(std::numeric_limits <std::streamsize>::max(),'\n'); please help me in this. showing error.

15th Jul 2018, 9:21 AM
Hardik Ranjan Srivastava
Hardik Ranjan Srivastava - avatar
2 ответов
+ 2
This is caused because of a previous macro definition. ( This is one of the reasons why macros aren't a good idea ). This might help you: https://stackoverflow.com/questions/6884093/warning-c4003-not-enough-actual-parameters-for-macro-max-visual-studio-2010
15th Jul 2018, 9:58 AM
Dennis
Dennis - avatar