#ifndef SNC_NUMBERS_H #define SNC_NUMBERS_H /*** This file is part of Simple numbers converter. Copyright (C) 2021 Aleksandr D. Goncharov (Joursoir) Simple numbers converter is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. Simple numbers converter is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, see . ***/ struct stack { char ch; struct stack *next; }; enum { SNC_ARABIC, SNC_ROMAN, SNC_ROMAN_I = 1, SNC_ROMAN_V = 5, SNC_ROMAN_X = 10, SNC_ROMAN_L = 50, SNC_ROMAN_C = 100, SNC_ROMAN_D = 500, SNC_ROMAN_M = 1000, SNC_ROMAN_MAX_NUMBER = 3999, SNC_ROMAN_MAXLEN = 15 // MMMDCCCLXXXVIII }; #endif /* SNC_NUMBERS_H */