std::copy C ++
include
include
include
using namespace std;
int main() {
vector
copy(source.begin(), source.end(), destination.begin());
for (int i : destination) {
cout << i << " ";
}
return 0;
}
using namespace std;
int main() {
vector
copy(source.begin(), source.end(), destination.begin());
for (int i : destination) {
cout << i << " ";
}
return 0;
}