Oddělení ELC1 generatoru a readeru
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user