Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
vectors
- Page 1
Re: Vectors Versus Arrays
Programming
Software Development
19 Years Ago
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
19 Years Ago
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
16 Years Ago
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
13 Years Ago
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
16 Years Ago
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
16 Years Ago
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
16 Years Ago
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
15 Years Ago
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
13 Years Ago
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
13 Years Ago
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
13 Years Ago
by sharathg.satya
…; student_marks.size(); i++) [/code][/QUOTE] ok thanks. Are arrays and
vectors
the same?
Re: vectors
Programming
Software Development
13 Years Ago
by deceptikon
[QUOTE]Are arrays and
vectors
the same?[/QUOTE] No.
Re: vectors
Programming
Software Development
13 Years Ago
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
13 Years Ago
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
13 Years Ago
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
13 Years Ago
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
19 Years Ago
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
19 Years Ago
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
15 Years Ago
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
14 Years Ago
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
14 Years Ago
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
13 Years Ago
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
13 Years Ago
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
15 Years Ago
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
15 Years Ago
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
14 Years Ago
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
13 Years Ago
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
20 Years Ago
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
20 Years Ago
by Marivel
Yeah, we have to use
vectors
- that's about the only certain bit of info we …
Vectors in java?
Programming
Software Development
19 Years Ago
by iamthwee
Ok, I've been looking through some of the older threads and noticed some bad things regarding
vectors
. So what's the deal. Are they worth using in java or should I avoid them like the plague? And if I should, what should I be using instead? The same questions applies to the StringTokeniser container. ThanQ.
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC