CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: STL and VC++ Learning Ed.

  1. #1
    Join Date
    Aug 2000
    Posts
    3

    STL and VC++ Learning Ed.

    Hello,

    I am a C++ programmer new to Visual C++. I am trying to use STL with VC++ Learning Ed. but don't seem to be able to do it. The compiler does not find the header files, and in fact, a serach for, say, "vector.h" turns up nothing in my computer. Is STL simply not implemented in the learning edition?

    thanks,

    Ivan.


  2. #2
    Join Date
    Aug 2000
    Posts
    18

    Re: STL and VC++ Learning Ed.

    The file is simply vector, not vector.h - #include <vector>




  3. #3
    Join Date
    Aug 1999
    Location
    Memphis, TN, USA
    Posts
    159

    Re: STL and VC++ Learning Ed.

    Also, don't forget to includeusing namespace std;

    when implementing any STL include file.


Posting Permissions

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


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)