44{
45 time_t t;
46 struct tm * tmp;
49
50 time(&t);
51
52
53
54
55
56
57
58 tmp = localtime(&t);
59
60
61
62
63 strftime(MY_TIME, sizeof(MY_TIME), "%x - %I:%M%p", tmp);
64
65 ShowMessages("evaluate expression:\n");
67 ShowMessages("Decimal : %d\n", U64Value);
68 ShowMessages("Octal : %o\n", U64Value);
69
70 ShowMessages("Binary : ");
72
73 ShowMessages("\nChar : ");
74
75
76
77
79 for (SIZE_T j = 0; j < sizeof(UINT64); j++)
80 {
81 Character = (
UINT32)TempCharacter[j];
82
83 if (isprint(Character))
84 {
85 ShowMessages("%c", Character);
86 }
87 else
88 {
89 ShowMessages(".");
90 }
91 }
92 ShowMessages("\nTime : %s\n", MY_TIME);
93 ShowMessages("Float : %4.2f %+.0e %E\n", U64Value, U64Value, U64Value);
94 ShowMessages("Double : %.*e\n", DECIMAL_DIG, U64Value);
95}
string SeparateTo64BitValue(UINT64 Value)