ex01 done

This commit is contained in:
2026-04-24 13:07:32 +02:00
parent 50cfaa5fcc
commit 270ddf75ae
4 changed files with 214 additions and 0 deletions

27
ex01/main.cpp Normal file
View File

@@ -0,0 +1,27 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2026/04/24 12:37:45 by aortigos #+# #+# */
/* Updated: 2026/04/24 12:57:54 by aortigos ### ########.fr */
/* */
/* ************************************************************************** */
#include "RPN.hpp"
using std::cout;
using std::endl;
int main(int argc, char **argv)
{
if (argc != 2)
{
cout << "Error." << endl;
return (1);
}
RPN calc;
calc.math(argv[1]);
}