Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
a.out
#include <unistd.h> void ft_putchar(char c) { write(1, &c, 1); } void ft_replace(char *d, char a, char b) { int i; i = 0; while (d[i] != '\0') { if (d[i] == a) ft_putchar(b); else ft_putchar(d[i]); i++; } } int main(int argc, char **argv) { if (argc == 4) { if (!(argv[3][1] != '\0' || argv[2][1] != '\0')) ft_replace(argv[1], argv[2][0], argv[3][0]); } ft_putchar('\n'); return (0); }
run
|
edit
|
history
|
help
0
Lab 8 part 2 v.06
Lab6 v1.3Sin,cos,tan,cot
No Pyramid toggle
PRACTICE 1
digitodentrodenumero
Address.c
Print Micro Seconds
USO DEL strrchr()
150108_recursividadFactorial
Ppp