Tetapkan array ke array
#include <algorithm>
int main()
{
int numbers[5] = {1, 2, 3};
int values[5] = {};
std::copy(numbers, numbers + 5, values);
}
almafa64
#include <algorithm>
int main()
{
int numbers[5] = {1, 2, 3};
int values[5] = {};
std::copy(numbers, numbers + 5, values);
}