Standard library.
More...
Go to the source code of this file.
◆ hexadecimal_to_char()
char* hexadecimal_to_char |
( |
unsigned long |
number | ) |
|
Takes hexadecimal the number, converts it to chars and puts it in an array.
- Parameters
-
The | hex we want to convert to corresponding char. |
- Returns
- The number converted in a string
◆ itoa()
Converts an int to a char, and returns it.
- Parameters
-
- Returns
- A character which based on the submitted int.
◆ number_to_char()
char* number_to_char |
( |
int |
n | ) |
|
Takes the number, converts it to chars and puts it in an array.
- Parameters
-
The | int we want to convert to corresponding char. |
- Returns
- The number converted in a string
◆ strcmp()
int strcmp |
( |
const char * |
str1, |
|
|
const char * |
str2 |
|
) |
| |
Compares the string pointed to by str1 with the string pointed to by str2.
- Parameters
-
str1 | The first string to be compared. |
str2 | The second string to be compared. |
- Returns
- If the return value is below 0, then str1 is less than str2; if the return value is above 0 then str1 is larger than str2. If the return value is 0, then str1 is equal to str2.
◆ strlen()
int strlen |
( |
const char * |
str | ) |
|
Returns the length of the string. Does not include \0.
- Parameters
-
- Returns
- The length of the string.