d07 ex02 a peu pres ok

This commit is contained in:
hugogogo
2022-03-11 01:54:16 +01:00
parent a38d7184e3
commit 9197577889
10 changed files with 379 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
# define ITER_HPP
template< typename T, typename F >
void Iter(T *arr, size_t len, F & f)
void Iter(T &arr, size_t len, F & f)
{
for (size_t i = 0; i < len; i++)
f(arr[i]);

BIN
d07/ex01/iter Executable file

Binary file not shown.