Name: Anonymous 2012-09-13 18:16
The only things I've covered so far are cin/cout, if/while/for and adding numbers.
Here is the question in the first chapter of C++ Primer (5th edition) that I'm stuck on:
http://ideone.com/4QlDm
here is the bit about the class:
http://ideone.com/tlrsc
This has been wregking my head for days I've been looking gor a solution online but to no avail. A solution with only chapter material would be freatly appreciated. I also can't seem to satisfactorally add Sales_items:
http://ideone.com/XeAx2
and here is Sales_item.h if you want to test your solutions before posting them:
http://ideone.com/U1vCo
Thanks in advance!
Here is the question in the first chapter of C++ Primer (5th edition) that I'm stuck on:
http://ideone.com/4QlDm
here is the bit about the class:
http://ideone.com/tlrsc
This has been wregking my head for days I've been looking gor a solution online but to no avail. A solution with only chapter material would be freatly appreciated. I also can't seem to satisfactorally add Sales_items:
http://ideone.com/XeAx2
and here is Sales_item.h if you want to test your solutions before posting them:
http://ideone.com/U1vCo
Thanks in advance!