Home

On 2007-08-24 15:14, arnuld wrote:
>> On Fri, 24 Aug 2007 04:55:13 -0700, tom wrote:
>
>> The question in the book stated as below: (I copied from the book)
>
>> Write your own version of the sales_item class, adding two new public
>> members to read and write sales_item objects. There functions should
>> operate similarly to the input and output operations used in chapter
>> 1. Transactions should look like the ones defined in that chapter as
>> well. Use this class to read and write a set of transactions.
>
>> The chapter is talking about functions, and I think the author wants
>> to get you familiar with how to write functions.
>
> 1st, read again, author wants us to write member functions (not
> functions).

Member functions are functions, hence the name.

--
Erik Wikström

previous
next

Re: Get the complete command line as-is
Re: iostream cin problem
Re: distutils, extensions, and missing headers
Re: Override 'and' and 'or'
Re: Sets in Python
monitor
frezy do metalu
Szkoły policealne technik bhp
nawigacja gps
praca w niemczech od zaraz