Hi again
Whenever I try and call the function of my food class I get the error
expected primary-expression before ')' token
heres the operation being called
;Code:food::draw_food(Canvas)
i've checked for differences between the declaration, implementation and call and they're all the same
Code:void draw_food(Canvas &canvas)any ideas?Code:void food::draw_food(Canvas &canvas)
Thanks
ES
P.S this should be one of the last threads I start today, thank you all for your patience and help