Define the macro NOMINMAX
:
This will suppress the min and max definitions in Windef.h.
More Related Contents:
- Why would we call cin.clear() and cin.ignore() after reading input?
- Hide user input on password prompt [duplicate]
- “std::endl” vs “\n”
- Reading from text file until EOF repeats last line [duplicate]
- Testing stream.good() or !stream.eof() reads last line twice [duplicate]
- How to properly overload the
- What is the C++ iostream endl fiasco?
- How to read a complete line from the user using cin?
- Why does stringstream >> change value of target on failure?
- if (cin >> x) – Why can you use that condition?
- Which C I/O library should be used in C++ code? [closed]
- How to get IOStream to perform better?
- std::cout won’t print
- How to solve “Unresolved inclusion: ” in a C++ file in Eclipse CDT?
- How to write custom input stream in C++
- Can I use CreateFile, but force the handle into a std::ofstream?
- How can I compose output streams, so output goes multiple places at once?
- Why does std::cout convert volatile pointers to bool?
- vs. vs. “iostream.h”
- Custom manipulator for C++ iostream
- Obtain a std::ostream either from std::cout or std::ofstream(file)
- How to easily make std::cout thread-safe?
- cin >> fails with bigger numbers but works with smaller ones?
- Are int8_t and uint8_t intended to be char types?
- How can I print 0x0a instead of 0xa using cout?
- Reading files larger than 4GB using c++ stl
- How Can I avoid char input for an int variable?
- Wrapping FILE* with custom std::ostream
- What’s the difference between getline and std::istream::operator>>()?
- checking data availability before calling std::getline