Re: C question...
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Jan 06, 2000
- 558 views
> 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.