CPP06 1.0
読み取り中…
検索中…
一致する文字列を見つけられません
main.cpp
[詳解]
1/* ************************************************************************** */
2/* */
3/* ::: :::::::: */
4/* main.cpp :+: :+: :+: */
5/* +:+ +:+ +:+ */
6/* By: kamitsui <kamitsui@student.42tokyo.jp> +#+ +:+ +#+ */
7/* +#+#+#+#+#+ +#+ */
8/* Created: 2025/07/22 14:24:36 by kamitsui #+# #+# */
9/* Updated: 2025/07/25 02:42:29 by kamitsui ### ########.fr */
10/* */
11/* ************************************************************************** */
12
18#include "ScalarConverter.hpp"
19#include <iostream>
20
27int main(int argc, char **argv) {
28 // Check for the correct number of arguments
29 if (argc != 2) {
30 std::cerr << "Usage: ./convert <literal>" << std::endl;
31 return 1;
32 }
33
34 // Call the convert method of the static class
36
37 return 0;
38}
Contains the declaration of the ScalarConverter static class.
static void convert(const std::string &literal)
The main conversion method.
T endl(T... args)
int main()
Main function to test the Serializer.
Definition main.cpp:28