Код: Выделить всё
#include "AES.h"
#include
#include
void initialize_aes(int Nk){
int Nr;
try {
if(Nk == 4){
Nr = 10;
} else if(Nk == 6){
Nr = 12;
} else if(Nk == 8){
Nr = 14;
} else {
throw (Nk);
}
}
catch (int a){
std::cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79336977/variable-declaration-from-inside-a-function-on-another-cpp-file[/url]
Мобильная версия