|
Corewar documentation 1.0.0
|
The file containing the my_get_char_index function. More...
#include "my.h"Functions | |
| int | my_get_char_index (char *str, char c, int occurrence) |
| Get the index of a char in a str according to its occurrence. | |
The file containing the my_get_char_index function.
| int my_get_char_index | ( | char * | str, |
| char | c, | ||
| int | occurrence ) |
Get the index of a char in a str according to its occurrence.
| str | The string to check |
| c | The letter to find |
| occurrence | The occurrence of the letter to find |