Главная страница | назад





Article #15883: Undefined symbols message using STL classes

 Question and Answer Database

FAQ883C.txt   Undefined symbols message using STL classes
Category   :Linker
Platform    :All
Product    :C++Builder  1.x

Question:

I'm trying to build a STL example from the online help and I get
the message: Undefined symbol , for example, vector.
Whatam I missing?

Answer:

You need to type:

using namespace std;

after the #include of the STL class you are trying to use,
or access the class using the std:: namespace specifier,
eg.,

std::vector;

7/2/98 10:32:32 AM
 

Last Modified: 01-SEP-99