From c50ef8bfe3337a0c91bff1a9ea8d915475c20824 Mon Sep 17 00:00:00 2001 From: ZennDev1337 Date: Mon, 5 Feb 2024 12:42:03 +0100 Subject: [PATCH] update --- src/io.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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