Oddělení ELC1 generatoru a readeru

This commit is contained in:
2024-01-31 14:19:23 +01:00
parent a7fc519138
commit c0b36e9068
35 changed files with 1528 additions and 81 deletions

View File

@@ -1,6 +1,5 @@
#include <stdio.h>
#include "licenceGenerator.h"
#include "licenceReader.h"
/// @brief hlavní funkce
/// @param argc
@@ -16,9 +15,15 @@ int main(int argc, char *argv[])
generatorOld.createLicenceFile();
return SUCCES;
}
catch (const LicenceException &ex)
{
cout << "error: " << ex.getErrorMessage();
system("pause");
}
catch (...)
{
cerr << "Obecná chyba\n";
system("pause");
}
system("pause");