Angus Leeming <[EMAIL PROTECTED]> writes:

| André> > Correct code, therefore, is
| André> >      array = someStruct[10];
| André> >      initialise(array);
| 
| André> What about
| André>        array = vector<someStruct>(10, initial_value);
| 
| would this work?
|       array = vector<someStruct>(10, someStruct(someVar));

yes, that would work.

        Lgb
        

Reply via email to