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;