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
> 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
[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
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
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