Archived

This topic is now archived and is closed to further replies.

Vector

This topic is 5017 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

Recommended Posts

How can I find which header file the vector class belongs to?

Share on other sites
#include<vector>std::vector<int> eg;

Share on other sites
Most of the time, you can check something like MSDN if you want to know what headers or libraries are needed for a paticular class or function.

Share on other sites
quote:
Original post by Programmer One
Most of the time, you can check something like MSDN if you want to know what headers or libraries are needed for a paticular class or function.

I checked msdn, and I couldnt find which header the class belongs to.
They dont mention that in msdn

3rd result

Share on other sites
quote:
Original post by The C modest god

I checked msdn, and I couldnt find which header the class belongs to.
They dont mention that in msdn

<a href = "http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcstdlib/html/vclrfvectorclass.asp">Yes they do</a>

Bottom of the page:
quote:

Requirements