Re: C question...

new topic     » goto parent     » topic index » view thread      » older message » newer message

> EU>My question was, if there is a way to create unpredictable
> sequences like in
> EU>I mean, how can this be possible in C:
> EU>    sequence tmp
> EU>    tmp={ {}, {{},{}}, {}...}
> EU>    tmp[2]={{},{},{},1}
> EU>Those unpredictable kind of things, can it be done with C/C++
> EU>I tried, but...

> It is possible, but it's not built-in. You'd probably have to
> write your
> own functions to automatically resize and subscript sequences etc.
>

You might look in the standard libraries that came with your compiler for a
vector class.  That should do most of what you need it to do.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu