E
eli m
My compiler is showing this error:
Run-Time Check Failure #3 - The variable 'math' is being used without being initialized.
Here is my code:
// CMD Application
// Created by Eli. M
#include <iostream>
using namespace std;
int main ()
{
char function;
char math = math;
char mathop;
cout << "Type in help for a list of functions";
cout << "Type in a function";
cin >> function;
if (function == math)
{
cout << "What math operation do you want to use?";
cin >> mathop;
}
}
What am i doing wrong?
Run-Time Check Failure #3 - The variable 'math' is being used without being initialized.
Here is my code:
// CMD Application
// Created by Eli. M
#include <iostream>
using namespace std;
int main ()
{
char function;
char math = math;
char mathop;
cout << "Type in help for a list of functions";
cout << "Type in a function";
cin >> function;
if (function == math)
{
cout << "What math operation do you want to use?";
cin >> mathop;
}
}
What am i doing wrong?