From d91bd4e375a4ec97e9a19573b823b5fc49bc0e35 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20=C5=A0tefka?= Date: Mon, 11 Dec 2023 04:43:55 +0100 Subject: [PATCH] feat(Doxygen): forgotten function description --- 01/src/main.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/01/src/main.c b/01/src/main.c index d097376..df9b03c 100644 --- a/01/src/main.c +++ b/01/src/main.c @@ -11,9 +11,11 @@ #include /** - * @brief - * param - * return + * @brief Gets the first number in a string + * param String where you want to find the number + * return The first number found (or -1 if none found) + * Gets the first number in a string. Can find numbers written as digits and + * words. */ int getNum(const char *line) { char *str = (char *)line;