27 lines
1.1 KiB
C++
27 lines
1.1 KiB
C++
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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]);
|
|
} |