Код: Выделить всё
typedef unsigned char RPCIndex;
const int MAX_RPC_MAP_SIZE=((RPCIndex)-1)-1;
const int UNDEFINED_RPC_INDEX=((RPCIndex)-1);
Код: Выделить всё
#include
typedef unsigned char RPCIndex;
const int MAX_RPC_MAP_SIZE=((RPCIndex)-1)-1;
const int UNDEFINED_RPC_INDEX=((RPCIndex)-1);
int main() {
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79151926/why-does-type-1-return-the-max-value-for-a-type-in-c[/url]
Мобильная версия