c++ winforms and standard library containers

user2367115

I'm looking for container to use with winforms project. I was using std::vector at first, but after a little search I found out that using of STL in winforms project is mistake. I can't find any documentary about any c++ winforms containers, so I need a solution.

I'm using Visual Studio 2012.

Brandon

Not sure why they are down voting you since this IS actually C++. It's just microsoft's version. Also, you don't "NEED" stl vector or any "special" containers.. .Net already has a framework for some of these things. Usually mixing managed and native C++ is a bad idea but in some cases it works just fine.

Check out container such as the following:

List<int>^ list = gcnew List<int>;
list->Add(42);
array<String^>^ strarray = gcnew array<String^>(100);
strarray[0] = "Hello";

and so on..

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

C++ when are typedefs in standard library containers not what you would expect?

From Dev

Why can swapping standard library containers be problematic in C++11 (involving allocators)?

From Dev

Why have comparison operators been removed from standard library containers in C++ 20?

From Dev

What is included in C Standard library?

From Dev

Standard c++ library linking

From Dev

Where are the VAPI for the C standard library?

From Dev

C standard library and object files

From Dev

C Standard Library linking in windows

From Dev

What is included in C Standard library?

From Dev

Relationship between C and C++ standard library

From Dev

Can a C++ standard library header include a C standard header?

From Dev

Can a C++ standard library header include a C standard header?

From Dev

Exception Requirements on Standard Containers

From Dev

Are iterators of standard containers DefaultConstructible?

From Dev

Barebones C++ without standard library?

From Dev

Is the C++ Standard Library fully supported on Arduino?

From Dev

Visual studio 2013 C++ standard library

From Dev

Where are the functions in the C standard library defined?

From Dev

Is it possible to avoid standard library linking in c++

From Java

Why is there no transform_if in the C++ standard library?

From Dev

Forward declare entities in C standard library?

From Dev

How to call standard C library from Swift?

From Dev

C++ apply standard library algorithms to functions

From Dev

ld MinGW link to standard C library

From Dev

Emscripten C++ 11 Standard Library support

From Dev

Are functions in the C standard library thread safe?

From Dev

WIndows System Programming use of standard C library

From Dev

Is there a pure virtual function in the C++ Standard Library?

From Dev

Is shared standard C library first initialized by kernel?

Related Related

  1. 1

    C++ when are typedefs in standard library containers not what you would expect?

  2. 2

    Why can swapping standard library containers be problematic in C++11 (involving allocators)?

  3. 3

    Why have comparison operators been removed from standard library containers in C++ 20?

  4. 4

    What is included in C Standard library?

  5. 5

    Standard c++ library linking

  6. 6

    Where are the VAPI for the C standard library?

  7. 7

    C standard library and object files

  8. 8

    C Standard Library linking in windows

  9. 9

    What is included in C Standard library?

  10. 10

    Relationship between C and C++ standard library

  11. 11

    Can a C++ standard library header include a C standard header?

  12. 12

    Can a C++ standard library header include a C standard header?

  13. 13

    Exception Requirements on Standard Containers

  14. 14

    Are iterators of standard containers DefaultConstructible?

  15. 15

    Barebones C++ without standard library?

  16. 16

    Is the C++ Standard Library fully supported on Arduino?

  17. 17

    Visual studio 2013 C++ standard library

  18. 18

    Where are the functions in the C standard library defined?

  19. 19

    Is it possible to avoid standard library linking in c++

  20. 20

    Why is there no transform_if in the C++ standard library?

  21. 21

    Forward declare entities in C standard library?

  22. 22

    How to call standard C library from Swift?

  23. 23

    C++ apply standard library algorithms to functions

  24. 24

    ld MinGW link to standard C library

  25. 25

    Emscripten C++ 11 Standard Library support

  26. 26

    Are functions in the C standard library thread safe?

  27. 27

    WIndows System Programming use of standard C library

  28. 28

    Is there a pure virtual function in the C++ Standard Library?

  29. 29

    Is shared standard C library first initialized by kernel?

HotTag

Archive