Skip to content

Commit

Permalink
Update vector.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
wXwSmilewXw committed Nov 17, 2024
1 parent 13fb6da commit e509922
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion LibraryC/Tests/vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ int main()
if (vector_get(vector, i) == NULL) {
break; // Выход из цикла, если элемент NULL
} else {
std::cerr << vector_get(vector, i) << " "; // Разыменовываем указатель и выводим значение
std::cout << vector_get_int(vector, i) << " "; // Разыменовываем указатель и выводим значение
}
}
std::cout << "\n";
Expand Down

0 comments on commit e509922

Please sign in to comment.