How can I print profit?Now it's giving me this error: 'Product::getProductName': function call missing argument list; use '...
How can I print profit?Now it's giving me this error: (140): error C2352: 'Product::getProfit' : illegal call of non-static...
How can I print profit?Haha oops thanks for the tip.
How can I print profit?Hi guys, My store program has to print profit and sales but the get function isn't working. [code]...
Why doesn't this code print?Don't worry guys I fixed it :)