Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual C++ Vector library

Status
Not open for further replies.

MartinKrapcho

Programmer
Sep 23, 2002
3
US
Hello,
I developed a Borland C++ application that makes use of the vector.h standard library. I have received a question from an end-user who states that their version of Microsoft Visual C++ does not recognize vector.h as a header - file. Can anyone provide me with the equivalent Visual C++ library or a location where it can be found. All I need is the standard vector library.
Thanks in advance.
 
You should #include <vector> and NOT vector.h, and maybe also add this :

using namespace std;

Unless you want to qualify with std:: 'all over the place'
/JOlesen
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top