-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmain.cpp
More file actions
26 lines (21 loc) · 1.11 KB
/
Copy pathmain.cpp
File metadata and controls
26 lines (21 loc) · 1.11 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* main.cpp :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: dpoveda- <me@izenynn.com> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/02/18 23:48:30 by dpoveda- #+# #+# */
/* Updated: 2022/02/19 00:08:01 by dpoveda- ### ########.fr */
/* */
/* ************************************************************************** */
#include "Scalar.hpp"
#include <iostream>
int main(int argc, char *argv[]) {
if (argc == 1) {
std::cout << "Error: no parameters\n" << "Usage: <program> <literal>" << std::endl;
return 1;
}
Scalar::convert(argv[1]);
return 0;
}