Kernel: C++17
C++ 17 in CoCalc / Ubuntu 20.04
Lambda-capture not only by reference, but also by value!
In [1]:
In [2]:
In [3]:
123
In [4]:
31
Range-based for loop
In [5]:
In [6]:
In [7]:
3 5 7 9 11
for loop
In [8]:
i=0
i=1
i=2
i=3
i=4
i=5
i=6
i=7
i=8
i=9
10
In [0]:
cin text input
In [9]:
17
In [0]:
In [0]: