27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* main.cpp :+: :+: :+: */
|
|
/* +:+ +:+ +:+ */
|
|
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
|
/* +#+#+#+#+#+ +#+ */
|
|
/* Created: 2025/04/09 15:17:59 by adjoly #+# #+# */
|
|
/* Updated: 2025/04/09 15:20:20 by adjoly ### ########.fr */
|
|
/* */
|
|
/* ************************************************************************** */
|
|
|
|
#include "iter.hpp"
|
|
#include <iostream>
|
|
|
|
void test(int &nb) {
|
|
nb++;
|
|
}
|
|
|
|
int main(void) {
|
|
int test[4] = {1, 2, 3, 4};
|
|
|
|
for (int i = 0; i < 4; i++) {
|
|
std::cout << test[i] << std::endl;
|
|
}
|
|
}
|