+ 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.
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