Solved

Lost #include file.

Posted on 1998-06-02
4
163 Views
Last Modified: 2013-11-18
I'm writing a listing that "#includes" a <vector.h> file.
However, I keep getting the error message..." cannot open <vector.h>". I've tried to compile in Borland Turbo C++ and Visual C++, and get the same message in both. Would greatly appreciate some timely assistance.
Thanks in advance!
               Frank
0
Comment
Question by:FrankD
4 Comments
 
LVL 2

Expert Comment

by:jstolan
ID: 1165117
First make sure you have vector.h on your computer.  This is not part of the normal visual c++ include files.  If you do, make sure that it resides on the proper search path for the compiler.  In visual C++ this is found under the tools-options menu item on the directories tab.  If you don't want to move the file or add to the #include directory search list, you can copy the file to the source directory of your program, and change the line to be:

#include "vector.h"
0
 

Expert Comment

by:jperret
ID: 1165118
My version of VC++ is 5.0. And no, I can't find any vector.h file on my computer. I guess my problem is that I need to find out how to obtain or create that type of file.
0
 

Author Comment

by:FrankD
ID: 1165119
The file is <vector> not <ventor.h>.
0
 
LVL 22

Accepted Solution

by:
nietod earned 50 total points
ID: 1165120
Opps jperret had that one before me.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Preface In the first article: A Better Website Login System (http://www.experts-exchange.com/A_2902.html) I introduced the EE Collaborative Login System and its intended purpose. In this article I will discuss some of the design consideratio…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now