Mai intai trebuie sa te autentifici.
Diferente pentru blog/cpp11 intre reviziile #9 si #10
Nu exista diferente intre titluri.
Diferente intre continut:
If you want to modify the elements in the list, you need to get a reference to the element like this: == code(cpp) |
intarray[5] = {1, 2, 3, 4, 5}; for (int &x: array) {
double array[5] = {1.5, 2.7, 3.9};
for (auto &x: array) {
x *= 2; } ==
