728x90
반응형
// MinMax.cpp
// min/max value of C++
// code from : http://www.cppreference.com/wiki/data_types
#include <limits>
std::cout << "Maximum short value: " << std::numeric_limits<short>::max() << std::endl;
std::cout << "Minimum short value: " << std::numeric_limits<short>::min() << std::endl;
728x90
반응형

+ Recent posts