C++字符-C++ char-C++字符取值范围-嗨客网

PHOTO EMBED

Wed Dec 07 2022 08:51:04 GMT+0000 (Coordinated Universal Time)

Saved by @leawoliu

#include <iostream>
#include <climits>
using namespace std;
int main(int argc, char **argv)
{
	cout << "嗨客网(www.haicoder.net)\n" << endl;
	int charMin = CHAR_MIN;
	int charMax = CHAR_MAX;
	cout << "charMin = " << charMin << " charMax = " << charMax << endl;
}
content_copyCOPY

https://m.haicoder.net/cpp/cpp-char.html