L
Lamefif
hi all ..im doing something like this:
//----Globals.h-----------
#ifndef __GLOBALS_H
#define __GLOBALS_H
#include <vector>
struct alert {
CString descriptionc;
int year;
int month;
int day;
int hour;
int min;
int sec;
bool triggered;
};
extern std::vector<alert> alertVector;
#endif
//---------------------------------------------
LINKER ERRORS:
class std::vector<struct alert,class std::allocator<struct alert> >
alertVector" (?alertVector@@3V?$vector@Ualert@@V?
$allocator@Ualert@@@std@@@std@@A)
fatal error LNK1120: 1 unresolved externals
----
error LNK2001: unresolved external symbol "class std::vector<struct
alert,class std::allocator<struct alert> > alertVector" (?
alertVector@@3V?$vector@Ualert@@V?$allocator@Ualert@@@std@@@std@@A)
reminder_v1Dlg.obj
any help thanks.
//----Globals.h-----------
#ifndef __GLOBALS_H
#define __GLOBALS_H
#include <vector>
struct alert {
CString descriptionc;
int year;
int month;
int day;
int hour;
int min;
int sec;
bool triggered;
};
extern std::vector<alert> alertVector;
#endif
//---------------------------------------------
LINKER ERRORS:
class std::vector<struct alert,class std::allocator<struct alert> >
alertVector" (?alertVector@@3V?$vector@Ualert@@V?
$allocator@Ualert@@@std@@@std@@A)
fatal error LNK1120: 1 unresolved externals
----
error LNK2001: unresolved external symbol "class std::vector<struct
alert,class std::allocator<struct alert> > alertVector" (?
alertVector@@3V?$vector@Ualert@@V?$allocator@Ualert@@@std@@@std@@A)
reminder_v1Dlg.obj
any help thanks.