Results 1 to 4 of 4

Thread: C++ cannot find Vector.h

  1. #1

    Default C++ cannot find Vector.h

    Not sure any poor souls out here might be doing C++ programming but in code I am trying to port over from a Fedora install I get an error that vector.h is missing....

    Anyone know if this is true and if I have to install a special rpm for this? I am using it with 3ds if that means anything to anyone.

  2. #2

    Default Re: C++ cannot find Vector.h

    Because it is supposed to be
    #include <vector>
    If your book says otherwise, throw it away.

  3. #3
    Join Date
    Jun 2008

    Default Re: C++ cannot find Vector.h


    vector.h was depreciated for a while and got removed in the gcc 4.3 release shipped with opensuse 11.0 use as suggested <vector> instead.

    For more details look at the following link.

    GCC 4.3 Release Series &mdash; Porting to the New Tools - GNU Project - Free Software Foundation (FSF)

    hope this helps

  4. #4

    Default Re: C++ cannot find Vector.h

    In STL we have no .h header file!
    And also try <vector> except <Vector> i mean all the alphabets must be lowercase!
    Try "using namespace std;" while using STL header files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts