- 论坛徽章:
- 0
|
请问在LINUX使用STL是否需要安装STL库,或者已经自带了?
在哪个目录下呢?我找了半天怎么没找着.
在这先谢谢大家了!
附上我的编译错误信息:
showscreen.h:15: error: ISO C++ forbids declaration of `list' with no type
showscreen.h:15: error: expected `;' before '<' token
showscreen.h:20:7: warning: no newline at end of file
showscreen.cpp:9: error: definition of implicitly-declared `CShowScreen::CShowScreen()'
showscreen.cpp:9: error: declaration of `CShowScreen::CShowScreen()' throws different exceptions
showscreen.h:12: error: than previous declaration `CShowScreen::CShowScreen() throw ()'
showscreen.cpp:14: error: expected class-name before '(' token
showscreen.cpp:15: error: no `CShowScreen::~CShowScreen()' member function declared in class `CShowScreen'
showscreen.cpp:21: error: prototype for `void CShowScreen::Add(char*)' does not match any in class `CShowScreen'
showscreen.h:17: error: candidate is: void CShowScreen::Add(const char*)
showscreen.cpp:24: error: `m_listMessage' undeclared (first use this function)
showscreen.cpp:36: error: `CShowMessage' has not been declared
showscreen.cpp:38: error: `list' undeclared (first use this function)
showscreen.cpp:38: error: expected primary-expression before "char"
showscreen.cpp:38: error: expected `;' before "char"
showscreen.cpp:39: error: `Mutex' undeclared (first use this function)
showscreen.cpp:40: error: `iterMessage' undeclared (first use this function)
showscreen.cpp:40: error: `m_listMessage' undeclared (first use this function)
showscreen.cpp:43: error: `iterMessge' undeclared (first use this function) |
|