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)); ie, use a non-default constructor to initialise the vector. This is exactly what Jürgen is trying to do. Angus
- Re: Compile error in table.... Andre Poenitz
- Re: Compile error in table.h Angus Leeming
- Re: Compile error in table.... Lars Gullik Bjønnes
- Re: Compile error in table.... Juergen Vigna
- Re: Compile error in ta... Lars Gullik Bjønnes
- Re: Compile error in ta... Juergen Vigna
- Re: Compile error in ta... Lars Gullik Bjønnes
- Re: Compile error in ta... Angus Leeming
- Re: Compile error in ta... Lars Gullik Bjønnes
- Re: Compile error in table.... Andre Poenitz
- Re: Compile error in ta... Angus Leeming
- Re: Compile error in ta... Lars Gullik Bjønnes
- Re: Compile error in ta... Andre Poenitz
- Re: Compile error in table.... Asger K. Alstrup Nielsen
- Re: Compile error in ta... Lars Gullik Bjønnes
- Re: Compile error in table.h Andre Poenitz
- RE: Compile error in table.h Juergen Vigna
- RE: Compile error in table.h Angus Leeming