Код: Выделить всё
error: ‘frame’ was not declared in this scope
auto position_array = (*frame)[i][j];
Код: Выделить всё
auto ds = data_file.open_dataset(argv[1]);
// auto frame = data_file.read_frame(ds, 0); // inside the loop
for (int i = 0; i < 3; ++i)
auto frame = data_file.read_frame(ds, i);
for (size_t i = 0; i < nsamples; ++i) {
for (size_t j = 0; j
Подробнее здесь: [url]https://stackoverflow.com/questions/70083996/variable-is-not-declared-in-the-scope-error-in-c[/url]