On Saturday 27 October 2001 9:39 pm, Herbert Voss wrote:
> ok, the first problem is solved. now my last one:
> I have the new newfloats as lines and want to
> build the floatList with a loop. In fact of
> my very low knowledge in c++ I dont know, how
> I can give a
>
> Floating myFloat = ("...", "...","...");
>
> in FloatList.C new values, because the
> number of newfloats is a variable.
Something like :
vector<string> myString; // An empty, zero-sized vecor of strings.
myString.push_back("..."); // myString now has size 1.
Angus