At the top of the file, I have:
#include "vector.h"
then I do a:
vector<vtarg> targVector;
and got the following error
Cannot open include file: 'vector.h': No such file or directory
Am I missing out something? I tried #include “vector” even more errors.
#include "afxwin.h"
#include "vector.h"
// CTargDlg dialog
class CTargDlg : public CDialog {
// Construction
public:
CTargDlg(CWnd* pParent = NULL);
// standard constructor
vector<vtarg> targVector;
You need to use
instead, without the
.hfile extension. Furthermore, thevectortemplate lives in thestdnamespace, so you should define your vector likeAlso make sure to include whatever headers are necessary for
vtarg.