24 lines
366 B
C++
24 lines
366 B
C++
//
|
|
// Created by ivs on 10/30/24.
|
|
//
|
|
|
|
#ifndef MAIN_H
|
|
#define MAIN_H
|
|
|
|
#include <iostream>
|
|
using namespace std;
|
|
|
|
class BubbleSort {
|
|
int _size;
|
|
int *_numArray;
|
|
|
|
public:
|
|
BubbleSort(int nums[], const int size) : _size(size), _numArray(nums) {};
|
|
~BubbleSort() = default;
|
|
void sort() const;
|
|
};
|
|
|
|
int main(int argc, const char * argv[]);
|
|
|
|
#endif //MAIN_H
|