C++ question: I've initialized some data elements in the int main function. the fourth element is a bool flag (set to false = 0). When I call a class function and that function tries to change the flag to true it doesn't work.
---
int main()
Calculate OB1 (4,25,25,0)
...
Class member function...
...
if (flag=0)
{
....
{
else
...
My constructor is:
void set (int avg=0, int high=0, int low=0, bool f=0);
Do you know why my flag isn't being triggered if the user is inputting 1 for True ?
Thanks for your help. 1267