This commit is contained in:
ZennDev1337 2024-02-05 12:42:03 +01:00
parent 921ca197bf
commit c50ef8bfe3

View file

@ -1,12 +1,13 @@
#pragma once
#include <iostream> // for std::cout
#include <iostream>
#include <string>
void add_two_numbers();
int read_number();
void write_answer(int x);
void convert_char_to_ascii();
void print_type_size_bytes();
#include <string>
template <typename T>
struct TypeName
{
@ -39,7 +40,8 @@ void bubble_sort(int size, T *a)
}
}
}
}
};
template <typename T>
void bubble_sort_print(int size, T *a)
{
@ -53,4 +55,4 @@ void bubble_sort_print(int size, T *a)
for (int i = 0; i < size; i++)
std::cout << a[i] << ", ";
std::cout << "\n";
}
};