In file included from /in/main/main.cpp:2:0:
/in/cashingmachine.h: In member function 'void Cashingmachine::add(int, int)':
/in/cashingmachine.h:24:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if (value=50){num50=num50+amount;}
~~~~~^~~
/in/cashingmachine.h:25:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if (value=20){num20=num20+amount;}
~~~~~^~~
/in/cashingmachine.h:26:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
else if (value=10){num10=num10+amount;}
~~~~~^~~
/in/main/main.cpp: In function 'int main()':
/in/main/main.cpp:7:5: error: 'CashingMachine' was not declared in this scope
CashingMachine CM;
^~~~~~~~~~~~~~
/in/main/main.cpp:7:5: note: suggested alternative: 'Cashingmachine'
CashingMachine CM;
^~~~~~~~~~~~~~
Cashingmachine
/in/main/main.cpp:16:13: error: 'CM' was not declared in this scope
CM.add(a1, a2);
^~
/in/main/main.cpp:19:13: error: 'CM' was not declared in this scope
CM.printStatus();
^~
/in/main/main.cpp:31:13: error: 'CM' was not declared in this scope
CM.change(qwq, a1);
^~