HELP ME SOLVE THIS ERRORS 😭
#include <iostream> #include <string> #include <cmath> using namespace std; void insert(string& exp, char num) { exp += num; } void opt(string& exp, char amd) { if (!exp.empty()) { exp += amd; } } void zero(string& exp) { if (!exp.empty()) { exp += '0'; } } void equal(string& exp) { if (!exp.empty()) { try { double result = eval(exp); cout << result << endl; } catch (exception& e) { cout << "Syntax Error!" << endl; exp = "Syntax Error!"; none(); } } if (exp == "0") { exp = ""; } if (exp == "Infinity") { cout << "Can't divide by Zero!" << endl; exp = "Can't divide by Zero!"; none(); } } void none() { cout << "Press the Clear button!" << endl; } void clean(string& exp) { exp = ""; } void back(string& exp) { if (!exp.empty()) { exp = exp.substr(0, exp.length() - 1); } } int main() { string exp = "";