return docalcx (op, v1, v2);
}
+#if CALC_DEBUG
static TCHAR *stacktostr(struct calcstack *st)
{
static TCHAR out[256];
_stprintf(out, _T("%f"), st->val);
return out;
}
+#endif
static TCHAR *chartostack(TCHAR c)
{
const TCHAR *strpos = input, *strend = input + _tcslen(input);
TCHAR c, res[4];
unsigned int sl = 0, rn = 0;
- struct calcstack stack[STACK_SIZE] = { 0 }, *sc, *sc2;
+ struct calcstack stack[STACK_SIZE] = { { 0 } }, *sc, *sc2;
double val = 0;
int i;
bool ok = false;