/
thomas-king
/
IntegerParser
Обзор
Документация
Войти
/
thomas-king
/
IntegerParser
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
main
src/main.cpp
22 строки
320 B
AceRodstin
Add support for hexadecimal integers.
02 янв 2023, 11:42
02 янв 2023, 11:42
8f1dda5
Код
Авторство
О чём код?
// // main.cpp // IntegerParser // // Created by Ace Rodstin on 30 Dec 2022. // #include <iostream> #include "../include/Parser.h" using namespace std; int main() { string literal = "0xAF1000"; Integer::Parser parser {}; auto value = parser.parse(literal); cout << value << endl; return 0; }