cin.ignore(std::numeric_limits<std::streamsize>::m ax(), '\n');
So the above code is used for clearing the input buffer and it works great.
But when I include <windows.h> then I get all sorts of errors relating to "max()", you can see for yourself.
How do I use the line above mentioned without having windows.h interfere with it while still having windows.h included to the program?