Re: Small C++ help

2000-10-06 Thread Juergen Vigna
On 05-Oct-2000 Andre Poenitz wrote: [snip explanation of using vector] > - but you don't want to burn in hell, do you? Well as I don't want to incomodate "devil" with my precence I changed form int[] to vector ;) > > PPS: It must be Friday somewhere in the universe... Surely in hell, it's Fr

Re: Small C++ help

2000-10-05 Thread Andre Poenitz
> I need to pass a: > > unsigned int clen[columns_]; You almost certainly do not need to pass arrays. You almost certainly mistyped vector clen(colums_) which could be passed easily and safe by reference or by const reference. > to a function, (shame on me) but I'm not able to do this! I am

Re: Small C++ help

2000-10-05 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Lars Gullik Bjønnes) writes: | Juergen Vigna <[EMAIL PROTECTED]> writes: | | | I need to pass a: | | | | unsigned int clen[columns_]; | | | | to a function, (shame on me) but I'm not able to do this! | | | | I tried; | | | | func(unsigned int const & clen[]) | | func(unsig

Re: Small C++ help

2000-10-05 Thread Lars Gullik Bjønnes
Juergen Vigna <[EMAIL PROTECTED]> writes: | I need to pass a: | | unsigned int clen[columns_]; | | to a function, (shame on me) but I'm not able to do this! | | I tried; | | func(unsigned int const & clen[]) | func(unsigned int const * clen[]) | func(unsigned int const ** clen) Pass a vector

Small C++ help

2000-10-05 Thread Juergen Vigna
I need to pass a: unsigned int clen[columns_]; to a function, (shame on me) but I'm not able to do this! I tried; func(unsigned int const & clen[]) func(unsigned int const * clen[]) func(unsigned int const ** clen) (and all the above without const) but had no luck :( Please could someone en