Unterminating c++ Program [closed]

You are calling the MathContext constructor-methods directly, change that to to the below by dropping the first part of MathContext::MathContext to just MathContext int main(int argc, _TCHAR* argv[]) { MathContext context[8]; context[0] = MathContext(); context[1] = MathContext((unsigned short) 46); context[2] = MathContext((unsigned int) 20); context[3] = MathContext(MathContext::UP); context[4] = MathContext((unsigned short) 36, (unsigned int) 30); … Read more