Message-Id: Date: Wed, 31 Dec 1997 15:39:17 +0100 To: djgpp AT delorie DOT com Subject: Vectors in DJGPP ? MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT From: Stritt AT t-online DOT de (Stritt) Precedence: bulk Hello! In "normal" C++ I have a container called "Vector" which is a kind of dynamic array. Normaly I can do like this: #include main() { vector test(10); // allocates a array of INTs with 10 elements test.resize(11); // to increase the array up to 11 elements test[11]=200; // now I can write the 11th element... test.resize(test.size()+1); // to increase the array 1 emement, "size()" gives the // actual element size [...] In DJGPP I can use the Include-File , then I have the container "vector" and I can make an vector like above. But: there exists no function like "resize" to resize the array, and no function like "size" to get the actual element size of the array. Does anyone know how the functions are called in DJGPP ??? thanks, mr rooTS