语言

Menu
Sites
Language
C++ STL not working

Hello Tizen Developers,

I am using tizen sdk 2.3.0

I am having problem in STL implementation.

All STL C++ resources are in this path: C:\tizen-sdk\tools\mingw\lib\gcc\mingw32\4.7.2\include\c++

I have added it to project->properties->.....->GNU C++ in my Tizen IDE.

But still it shows error. Please help.

查看选择的答案

响应

3 回复
Shayed Hasan

Anyone please help

Mark as answer
Alex Ashirov

Hi,

I successfully use STL classes in my cpp code. I have not changed Project settings at all. I just add something like:

#include <vector>

using namespace std;

in my cpp file and then I am able to use vector. Could you please explain in more details what error do you receive?

Shayed Hasan

Dear Alex,

Thank you for your response. I read that in a post of this forum.

I was actually writing functions using STL library and calling those functions from a *.c file. Now i have resolved the problem.

Sometimes silly mistakes give lot of pain :P Anyway, thank you