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!

Equivalent of Borland's vector.h

Status
Not open for further replies.

MartinKrapcho

Programmer
Sep 23, 2002
3
US
Hello everyone,
I developed a C++ program based in Borland and I have provided the C++ code on the web. I have received a question from an end-user in regards to the vector.h file that I am using. Apparently this is not the same name in Visual C++. This does not suprise me but both I and the end use have limited C++ knowledge, could anyone point me in the right direction for the file that they need to use. For the vector I make use of the ability to push numbers into the vector, access the vector as if it was an array, vector length, and if the vector is empty or not.

Thanks in advance.
 
If your referring to the STL vector class, in VC it’s include file is #include <vector>

-pete


 
Don't forget the &quot;using namespace std;&quot;
 
Thanks you very much for your help. The end user got the program to compile.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top