Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Contributor
Posts: 33
Registered: ‎05-02-2012
My Device: playbook
My Carrier: bouyig

probleme avec vector.h

hello
I wanted to use the vector class in C + + standard library in a project CASCAD / blackberry on qnx momentique
but the class that uses vector.h (eg <bits/allocator.h>) can not be found when compiling

Thank you in advance for your help

 

Retired
Posts: 499
Registered: ‎05-07-2012
My Device: developer
My Carrier: developer

Re: probleme avec vector.h

Can you provide a small code sample that demonstrates the issue.

 

I tried:

#include <vector>

 

int main(int argc, char** argv)

{

   std::vector<int> vi;

   vi.push_back(4);

}

 

This compiled without issue.