Merge Sort v0.3.3
Loading...
Searching...
No Matches
array_utils.hpp
Go to the documentation of this file.
1
10#ifndef ARRAY_UTILS_HPP
11#define ARRAY_UTILS_HPP
12
13#include <vector>
14
21void displayArray(std::vector<int> array);
22
29void randomlyShuffleArray(std::vector<int>& array);
30
36void reverseArray(std::vector<int>& array);
37
38#endif /* ARRAY_UTILS_HPP */
void reverseArray(std::vector< int > &array)
Odwraca kolejność elementów w tablicy.
Definition array_utils.cpp:36
void displayArray(std::vector< int > array)
Wyświetla zawartość tablicy na standardowym wyjściu.
Definition array_utils.cpp:15
void randomlyShuffleArray(std::vector< int > &array)
Tasuje losowo elementy w tablicy.
Definition array_utils.cpp:29