「✨」 feat: finished ex02
This commit is contained in:
28
ex02/main.cpp
Normal file
28
ex02/main.cpp
Normal file
@ -0,0 +1,28 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* main.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/04/14 18:52:19 by adjoly #+# #+# */
|
||||
/* Updated: 2025/04/14 18:52:20 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "Array.hpp"
|
||||
#include <iostream>
|
||||
|
||||
int main() {
|
||||
Array<int> str(7);
|
||||
|
||||
str[0] = 10;
|
||||
str[1] = 9;
|
||||
str[2] = 8;
|
||||
str[3] = 7;
|
||||
str[4] = 6;
|
||||
str[5] = 5;
|
||||
str[6] = 4;
|
||||
|
||||
std::cout << str << std::endl;
|
||||
}
|
Reference in New Issue
Block a user