Hello i need help compiling this program and headder file. Ive been trying to fix it for the past few hours and thinking i just need another fresh set of eyes to look at it. Heres the errors i get.....
3 In file included from New folder/hw4.cpp
In member function `void sales::purchase(int)':
46 sales.h invalid use of member (did you forget the `&' ?)
sales.h In member function `void sales::cashout()':
67 sales.h `number' undeclared (first use this function)
11 hw4.cpp `cds' undeclared (first use this function)
(same line with 'position', 'sell', 'profit'
20 hw4.cpp `number' undeclared (first use this function)
I wonder why do not you read error messages yourself? Do you want that it will be us how will read error messages instead of you? What does this code means?