Re: dynamic double array
klynn47_at_comcast.net
Date: 02/02/05
- Next message: Thomas Schodt: "Re: how to emulate goto."
- Previous message: John C. Bollinger: "Re: All those constructors..."
- In reply to: Bernd Pocher: "dynamic double array"
- Next in thread: Steve W. Jackson: "Re: dynamic double array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Feb 2005 14:15:29 -0800
Vectors only hold object references, but you could store the doubles in
Double and store them in the Vector and then later create an array of
doubles whose size is equal to the size of the Vector and then one by
one turned the elements in the Vector into doubles.
Another way would be to concatenate each new double into a String and
delimit the doubles with some character like ;, and then use split to
turn it into an array of Strings, and then create an array of double of
the same size and one by one turn the Strings into doubles.
- Next message: Thomas Schodt: "Re: how to emulate goto."
- Previous message: John C. Bollinger: "Re: All those constructors..."
- In reply to: Bernd Pocher: "dynamic double array"
- Next in thread: Steve W. Jackson: "Re: dynamic double array"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|