Anonymous user
List comprehensions: Difference between revisions
→{{header|C++}}
Line 249:
<pre>3 4 5 5 12 13 6 8 10 8 15 17 9 12 15 12 16 20</pre>
{{works with|C++11}}
<lang cpp>#include <functional>
Line 273:
std::cout << x << "," << y << "," << z << "\n";
});
return 0;
}</lang>
|