Re: pass an array throuh a function
From: Francis Glassborow (francis_at_robinton.demon.co.uk)
Date: 05/28/04
- Next message: Francis Glassborow: "Re: Structure naming conventions?"
- Previous message: Karl Heinz Buchegger: "Re: Static pointer to function"
- In reply to: Ben Cottrell: "Re: pass an array throuh a function"
- Next in thread: Kenny: "Re: pass an array throuh a function"
- Reply: Kenny: "Re: pass an array throuh a function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 28 May 2004 10:47:12 +0100
In message <2hnm8sFf44n7U1@uni-berlin.de>, Ben Cottrell
<bench@bench333.screaming.net> writes
>class clock
>{
> int hours;
> int minutes;
> int seconds;
>};
>
>So now, you have a data structure called clock, which has 3 properties
>- hours, minutes & seconds.
It might be better to use the struct keyword for this case or else you
must declare the data as public or provide a detailed set of access
functions.
-- Francis Glassborow ACCU Author of 'You Can Do It!' see http://www.spellen.org/youcandoit For project ideas and contributions: http://www.spellen.org/youcandoit/projects
- Next message: Francis Glassborow: "Re: Structure naming conventions?"
- Previous message: Karl Heinz Buchegger: "Re: Static pointer to function"
- In reply to: Ben Cottrell: "Re: pass an array throuh a function"
- Next in thread: Kenny: "Re: pass an array throuh a function"
- Reply: Kenny: "Re: pass an array throuh a function"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|