ex00 and ex01
This commit is contained in:
22
ex00/main.cpp
Normal file
22
ex00/main.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* main.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: aortigos <aortigos@student.42malaga.com +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2026/02/28 19:56:55 by aortigos #+# #+# */
|
||||
/* Updated: 2026/02/28 20:10:35 by aortigos ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "ScalarConverter/ScalarConverter.hpp"
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
if (argc == 2)
|
||||
ScalarConverter::convert(argv[1]);
|
||||
else
|
||||
std::cout << "Error: no arguments." << std::endl;
|
||||
return (0);
|
||||
}
|
||||
Reference in New Issue
Block a user