File tree Expand file tree Collapse file tree 8 files changed +14
-17
lines changed Expand file tree Collapse file tree 8 files changed +14
-17
lines changed Original file line number Diff line number Diff line change 11
2- void emptyFn (){}
2+ void emptyFn () {}
Original file line number Diff line number Diff line change 11#ifndef CONSTRUCTORS_H_INCLUDED
22#define CONSTRUCTORS_H_INCLUDED
33
4-
5-
6- #endif // CONSTRUCTORS_H_INCLUDED
4+ #endif // CONSTRUCTORS_H_INCLUDED
Original file line number Diff line number Diff line change 11
2- void emptyFn (){}
2+ void emptyFn () {}
Original file line number Diff line number Diff line change 11#ifndef METHODS_H_INCLUDED
22#define METHODS_H_INCLUDED
33
4-
5-
6- #endif // METHODS_H_INCLUDED
4+ #endif // METHODS_H_INCLUDED
Original file line number Diff line number Diff line change 11#ifndef MACROS_H_INCLUDED
22#define MACROS_H_INCLUDED
33
4-
5-
6- #endif // MACROS_H_INCLUDED
4+ #endif // MACROS_H_INCLUDED
Original file line number Diff line number Diff line change 99#include "cells/constructors.h"
1010#include "cells/methods.h"
1111
12- #endif // MAIN_H_INCLUDED
12+ #endif // MAIN_H_INCLUDED
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ int getStrLength(char* str) {
33 int length = 0 ;
44
55 while (* str != '\0' )
6-
6+
77 {
88 length ++ ;
99 str ++ ;
Original file line number Diff line number Diff line change 44/**
55 * @brief Calculates the length of a string.
66 *
7- * This function takes a null-terminated string as input and returns the number of characters in the string, excluding the null character.
7+ * This function takes a null-terminated string as input and returns the number
8+ * of characters in the string, excluding the null character.
89 *
9- * @param str The null-terminated string for which the length needs to be calculated.
10+ * @param str The null-terminated string for which the length needs to be
11+ * calculated.
1012 *
1113 * @return The length of the string.
1214 *
13- * @warning The input string must be null-terminated, otherwise the behavior is undefined.
15+ * @warning The input string must be null-terminated, otherwise the behavior is
16+ * undefined.
1417 */
1518int getStrLength (char * str );
1619
17- #endif // UTILITIES_H_INCLUDED
20+ #endif // UTILITIES_H_INCLUDED
You can’t perform that action at this time.
0 commit comments