prog.cpp: In function 'int main()':
prog.cpp:5:25: error: 'CHAR_MIN' was not declared in this scope
printf("CHAR_MIN = %d",CHAR_MIN);
^
prog.cpp:5:33: error: 'printf' was not declared in this scope
printf("CHAR_MIN = %d",CHAR_MIN);
^
prog.cpp:6:27: error: 'CHAR_MAX' was not declared in this scope
printf("CHAR_MAX = %d",CHAR_MAX);
^
prog.cpp:7:28: error: 'UCHAR_MAX' was not declared in this scope
printf("UCHAR_MAX = %d",UCHAR_MAX);
^
prog.cpp:8:28: error: 'SHORT_MIN' was not declared in this scope
printf("SHORT_MIN = %d",SHORT_MIN);
^
prog.cpp:9:28: error: 'SHORT_MAX' was not declared in this scope
printf("SHORT_MAX = %d",SHORT_MAX);
^
prog.cpp:10:29: error: 'USHORT_MAX' was not declared in this scope
printf("USHORT_MAX = %d",USHORT_MAX);
^
prog.cpp:11:26: error: 'INT_MIN' was not declared in this scope
printf("INT_MIN = %d",INT_MIN);
^
prog.cpp:12:26: error: 'INT_MAX' was not declared in this scope
printf("INT_MAX = %d",INT_MAX);
^
prog.cpp:13:27: error: 'UINT_MAX' was not declared in this scope
printf("UINT_MAX = %u",UINT_MAX);
^
prog.cpp:14:30: error: 'LONG_MIN' was not declared in this scope
printf("LONG_MIN = %I64d",LONG_MIN);
^
prog.cpp:15:30: error: 'LONG_MAX' was not declared in this scope
printf("LONG_MAX = %I64d",LONG_MAX);
^
prog.cpp:16:31: error: 'ULONG_MAX' was not declared in this scope
printf("ULONG_MAX = %I64u",ULONG_MAX);
^
prog.cpp:17:33: error: 'EMPTY_VALUE' was not declared in this scope
printf("EMPTY_VALUE = %.16e",EMPTY_VALUE);
^
prog.cpp:18:29: error: 'DBL_MIN' was not declared in this scope
printf("DBL_MIN = %.16e",DBL_MIN);
^
prog.cpp:19:29: error: 'DBL_MAX' was not declared in this scope
printf("DBL_MAX = %.16e",DBL_MAX);
^
prog.cpp:20:33: error: 'DBL_EPSILON' was not declared in this scope
printf("DBL_EPSILON = %.16e",DBL_EPSILON);
^
prog.cpp:21:26: error: 'DBL_DIG' was not declared in this scope
printf("DBL_DIG = %d",DBL_DIG);
^
prog.cpp:22:31: error: 'DBL_MANT_DIG' was not declared in this scope
printf("DBL_MANT_DIG = %d",DBL_MANT_DIG);
^
prog.cpp:23:34: error: 'DBL_MAX_10_EXP' was not declared in this scope
printf("DBL_MAX_10_EXP = %d",DBL_MAX_10_EXP);
^
prog.cpp:24:30: error: 'DBL_MAX_EXP' was not declared in this scope
printf("DBL_MAX_EXP = %d",DBL_MAX_EXP);
^
prog.cpp:25:33: error: 'DBL_MIN_10_EXP' was not declared in this scope
printf("DBL_MIN_10_EXP = %d",DBL_MIN_10_EXP);
^
prog.cpp:26:30: error: 'DBL_MIN_EXP' was not declared in this scope
printf("DBL_MIN_EXP = %d",DBL_MIN_EXP);
^
prog.cpp:27:28: error: 'FLT_MIN' was not declared in this scope
printf("FLT_MIN = %.8e",FLT_MIN);
^
prog.cpp:28:28: error: 'FLT_MAX' was not declared in this scope
printf("FLT_MAX = %.8e",FLT_MAX);
^
prog.cpp:29:32: error: 'FLT_EPSILON' was not declared in this scope
printf("FLT_EPSILON = %.8e",FLT_EPSILON);
^
prog.cpp: At global scope:
prog.cpp:30:5: error: expected unqualified-id before 'return'
} return 0;
^
prog.cpp:31:1: error: expected declaration before '}' token
}
^