mirror of
https://github.com/zoriya/Twac.git
synced 2026-06-04 02:55:59 +00:00
Using xml
This commit is contained in:
+1
-1
Submodule lib/gamacon updated: 83a9b8f9ef...ee89f69e7a
@@ -8,6 +8,8 @@
|
||||
|
||||
int count_valid_queens_placements(int n);
|
||||
|
||||
char *my_strchr(const char *str, char c);
|
||||
|
||||
int my_compute_power_it(int n, int p);
|
||||
|
||||
int my_compute_power_rec(int n, int p);
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
/*
|
||||
** EPITECH PROJECT, 2019
|
||||
** MUL_my_runner_2019
|
||||
** File description:
|
||||
** my_strchr
|
||||
*/
|
||||
|
||||
#include "stddef.h"
|
||||
|
||||
char *my_strchr(char *str, char c)
|
||||
{
|
||||
for (int i = 0; str[i]; i++) {
|
||||
if (str[i] == c)
|
||||
return (&str[i]);
|
||||
}
|
||||
return (NULL);
|
||||
}
|
||||
Submodule
+1
Submodule lib/xmlparser added at 48beb9a721
Reference in New Issue
Block a user