Re: Hi everyone, I'm David with SayItOnTheWeb Community Center Say Hello! by Dani … this javascript that has to continuously calculate the position and vectors of each of the individual particles and connections between them… Re: Vectors Versus Arrays Programming Software Development by Narue Vectors are evil, look up the ArrayList if you want an array that grows as needed. Re: Vectors in java? Programming Software Development by server_crash Vectors shouldn't be used, because ArrayLists are simply better ;) StringTokenizer isn't that bad, but I think the newer version is called StringBuilder... I could be wrong about that one. Re: Vectors ? What are they ? Programming Software Development by Narue >What are and how do I use vectors ? Vectors and arrays are conceptually analogous. Due to operator overloading, you … Re: vectors Programming Software Development by sharathg.satya … one important advantage with respect to C-style arrays: vectors can be resized during the execution of the program to … vectors Programming Software Development by perumar … * operator so that it returns the dot product of two vectors (Ax+Bx)+(Ay+By) so far I have this [code… Re: vectors Programming Software Development by perumar … * operator so that it returns the dot product of two vectors (Ax+Bx)+(Ay+By) I modified my level best but… Vectors ? What are they ? Programming Software Development by kelechi96 What are and how do I use vectors ? I have read some tutorials on them but I don't understand fully how they work. Vectors Programming Software Development by gedas Hey everyone, im trying to get to know vectors but i came to a point that my current knowledge … vectors Programming Software Development by sharathg.satya I saw this example while i am searching about vectors.. [CODE] vector<double> student_marks; // no size specified: vector … Re: vectors Programming Software Development by deceptikon …;1742733]I saw this example while i am searching about vectors.. [CODE] vector<double> student_marks; // no size specified: vector… Re: vectors Programming Software Development by sharathg.satya …; student_marks.size(); i++) [/code][/QUOTE] ok thanks. Are arrays and vectors the same? Re: vectors Programming Software Development by deceptikon [QUOTE]Are arrays and vectors the same?[/QUOTE] No. Re: vectors Programming Software Development by deceptikon … this correct?[/QUOTE] Yes, that's the biggest reason why vectors are recommended over arrays. [QUOTE]If this is correct even… Re: vectors Programming Software Development by sharathg.satya [QUOTE=deceptikon;1742765]Yes, that's the biggest reason why vectors are recommended over arrays. Arrays and pointers are different. realloc() … Re: Vectors Obsolete? Programming Software Development by ceyesuma … will have to spend more time on vectors. All I thought I knew about Vectors is that there was no data type…();) { JInternalFrame frame = (JInternalFrame) e.nextElement(); createKeyAndValues(frame); } [/code] just google Vectors +wildCard ? Re: Vectors Obsolete? Programming Software Development by Annuate …]I was reading some code that encouraged the use of vectors but my IDE is saying that it is an obsolete… size. and I would like to have a Vector of Vectors. Is there some other way to do this? Maybe an… think I remember from class that for the most part Vectors are not used except when we needed multi-threading/synchronization… Vectors Versus Arrays Programming Software Development by kbradley … an array of zeros. Or do I have to use vectors to do this? I also have this problem with a… 3D array that I was creating. How would I use vectors to create a 3D array? Thanks!! Re: Vectors Versus Arrays Programming Software Development by freesoft_2000 Hi everyone, [QUOTE=Narue]Vectors are evil, look up the ArrayList if you want an array that grows as needed.[/QUOTE] Narue what makes you say that vectors are evil? Richard West ***************************************************** vectors vs arrays Programming Software Development by SacredFootball Hey all. I don't have any experience with vectors so I'm looking for a little guidance. I don'… answer, just a direction to take. I've looked up vectors on cplusplus.com but I couldn't understand exactly how… Vectors and comparing. Programming Software Development by Roses89 Hey, Ok i needed quick help on vectors in C++.I have a vector which consits of a … element in the vector and compare it?Im new to vectors so im not quite sure on how to do it… Vectors and comparing(again:S) Programming Software Development by Roses89 Hey, Ok i needed quick help on vectors in C++.I have a vector which consits of a … element in the vector and compare it?Im new to vectors so im not quite sure on how to do it… Vectors Obsolete? Programming Software Development by ceyesuma I was reading some code that encouraged the use of vectors but my IDE is saying that it is an obsolete Collection. I need to use Vector because it can does not need to be a set size. and I would like to have a Vector of Vectors. Is there some other way to do this? Maybe an example of a list of list or some other kind of collection. thanks Re: Vectors Obsolete? Programming Software Development by ceyesuma …/util/Vector.html[/url][/QUOTE] Thanks I have not used vectors a whole lot. The links were good links to add…. Thank god. I just spent 4 hours working aroud it. Vectors are our friend! I'll be happy to delete all… Re: vectors vs arrays Programming Software Development by mrnutty Here is an example on how to grow vectors : [code] int main(){ std::vector<int> numbers; //input 10 numbers from user for(int i = 0; i < 10; ++i){ int input = 0; cin >> input; numbers.push_back( input ); } return 0; } [/code] Re: vectors vs arrays Programming Software Development by VernonDozier The whole beauty of vectors is that you don't have to handle any of … Re: Vectors and comparing(again:S) Programming Software Development by iamthwee … the first element in the vector and compare it?[/QUOTE] Vectors can be accessed like an array... So you could do… Re: Vectors Obsolete? Programming Software Development by ~s.o.s~ …"]Collections.synchronizedList[/URL] call. In short, don't use Vectors unless you are tied to an API which forces you… Vectors, Functions, and Sorting... oh my! Programming Software Development by Marivel … he could NOT help us with... It involves functions and vectors. Basically we need to be able to sort a chunk… Re: Vectors, Functions, and Sorting... oh my! Programming Software Development by Marivel Yeah, we have to use vectors - that's about the only certain bit of info we …