Sorry -not getting anywhere with setText()

Max Samukha nospam at nospam.com
Thu May 8 00:36:20 PDT 2008


On Thu, 08 May 2008 02:26:27 -0400, June <somewhere at so.com> wrote:

>Attach what I am trying to make work -not winning here ,round and round in loops
>Any help appreciated

You defined the setText(char[] name, char[] text) as nested function
in Box's constructor. Move it out to the class' scope.

Btw, 'public:' is not needed as class members are public by default. 

 


More information about the Digitalmars-d-learn mailing list