The difference between vectors and arrays

Basically vectors are dynamic arrays which mean you can add or delete contents. With arrays you have to manage memory, vectors does this for you... Um basically you want to use vectors when you are going to either be deleting or adding items to the end. Use an array when you want to just store a set number of values, also if you're looking to add or delete items in the the middle of an array I believe it's more efficient to use lists (deque?) I'm not 100% postive about this because I myself am still learning.
Google returns a lot of info for this..

when to use each:
set number of data ----> array
dynamic number of data, adding/deleting at end -----> vector
dynamic number of data, adding/deleting in middle ---> lists

A vector is a dynamic array. An array is simply a static array. It has a fixed amount of elements. A vector will expand its size as necessary to accommodate new elements.
Vectors are generally your general choice container, unless you have special need.
If you're going to add/delete at the beginning, a deque might be good.
If you're going to add/delete in the middle, a linked list may be good.

Originally Posted by Adak

io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.

Originally Posted by Salem

You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.