Vector (computing)

From Wikipedia, the free encyclopedia

A vector in computing, specifically when talking about malicious code such as viruses or worms, is the method that this code uses to propagate itself or infect the computer and this sense is similar to, and derived from, its meaning in Biology.

Some common vectors:

For other meanings, including other computer-related ones, see Vector.

vector (STL) - a C-like array (i.e., capable of random access) with the ability to automatically resize itself when inserting or erasing an object. Inserting and removing an element to/from back of the vector at the end takes constant time. Inserting and erasing at the beginning or in the middle is linear in time. See also Standard Template Library.