G
Gernot Frisch
Hi,
how can I append the contents of one vector to another?
std::vector <int> a, b;
a.push_back(3); a.push_back(4);
b.push_back(5); b.push_back(7);
a+=b;
a.append(b);
a.push_back(b);
all doesn't work... Please help.
-Gernot
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com
how can I append the contents of one vector to another?
std::vector <int> a, b;
a.push_back(3); a.push_back(4);
b.push_back(5); b.push_back(7);
a+=b;
a.append(b);
a.push_back(b);
all doesn't work... Please help.
-Gernot
--
-Gernot
int main(int argc, char** argv) {printf
("%silto%c%cf%cgl%ssic%ccom%c", "ma", 58, 'g', 64, "ba", 46, 10);}
________________________________________
Looking for a good game? Do it yourself!
GLBasic - you can do
www.GLBasic.com