Created
May 19, 2015 13:24
-
-
Save MasazI/7ce1bf42a714bbab7769 to your computer and use it in GitHub Desktop.
cstdlib.cpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// cstdlib.cpp | |
// CplusplusPractice | |
// | |
// Created by masai on 2015/05/19. | |
// Copyright (c) 2015年 masai. All rights reserved. | |
// | |
#include <iostream> | |
#include <cstdlib> | |
int main(int argc, const char * argv[]) { | |
std::cout << "HashValue(int8_t): " << std::numeric_limits<int8_t>::max() << std::endl; | |
std::cout << "HashValue(int16_t): " << std::numeric_limits<int16_t>::max() << std::endl; | |
std::cout << "HashValue(int32_t): " << std::numeric_limits<int32_t>::max() << std::endl; | |
std::cout << "HashValue(int64_t): " << std::numeric_limits<int64_t>::max() << std::endl; | |
std::cout << "HashValue(uint8_t): " << std::numeric_limits<uint8_t>::max() << std::endl; | |
std::cout << "HashValue(uint16_t): " << std::numeric_limits<uint16_t>::max() << std::endl; | |
std::cout << "HashValue(uint32_t): " << std::numeric_limits<uint32_t>::max() << std::endl; | |
std::cout << "HashValue(uint64_t): " << std::numeric_limits<uint64_t>::max() << std::endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment