prog.cpp: In function ‘int main()’:
prog.cpp:7:12: error: ‘INT_MAX’ was not declared in this scope
int min = INT_MAX;;
^~~~~~~
prog.cpp:7:12: note: ‘INT_MAX’ is defined in header ‘<climits>’; did you forget to ‘#include <climits>’?
prog.cpp:4:1:
+#include <climits>
using namespace std;
prog.cpp:7:12:
int min = INT_MAX;;
^~~~~~~
prog.cpp:19:8: warning: ignoring return value of ‘int system(const char*)’, declared with attribute warn_unused_result [-Wunused-result]
system("pause");
~~~~~~^~~~~~~~~