diff --git a/src/io.h b/src/io.h index ebe4d8d..3556351 100644 --- a/src/io.h +++ b/src/io.h @@ -1,12 +1,13 @@ #pragma once -#include // for std::cout +#include +#include + void add_two_numbers(); int read_number(); void write_answer(int x); void convert_char_to_ascii(); void print_type_size_bytes(); -#include template struct TypeName { @@ -39,7 +40,8 @@ void bubble_sort(int size, T *a) } } } -} +}; + template 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"; -} \ No newline at end of file +}; \ No newline at end of file