An error occurs when using the integer upper and lower bounds of C + +
error: ‘INT_ MAX’ was not declared in this scope
Solution:
Constant int_ Max and int_ Min is defined in the header file limits
So add header file · #include <climits>
Similar Posts:
- Solution to the problem of “TypeError: Assignment to constant variable”
- [Solved] codeblocks Error: ‘to_string’ was not declared in this scope
- [Error] ‘exit’ was not declared in this scope [How to Solve]
- C1189 #error: “No Target Architecture”
- [Solved] include(../template/header.html): failed to open stream: No such file or dir…
- [Solved] VS winsock.h and ws2def.h a large number of redefined error
- C Compilation Error: implicit declaration of function xxx is invalid in C99 [-Wimplicit-function-declaration]
- ndk error: malloc was not declared in this scope
- fatal error C1010: unexpected end of file while…