STL
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Can anyone explain to me how to use struct variables w/ STL? I generated a struct variable and need to use it in a vector template. Thx, Ralf. ralf.riedel@usm.edu
-
Can anyone explain to me how to use struct variables w/ STL? I generated a struct variable and need to use it in a vector template. Thx, Ralf. ralf.riedel@usm.edu
Shouldn't be a problem mate, unless you have hidden the default contructor or overloaded operator &.
struct thing { int i; }; vector<thing> stuff;
Ryan