Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef S21_STRING_H
- #define S21_STRING_H
- typedef unsigned s21_size_t;
- s21_size_t s21_strlen(const char *str);
- int s21_strcmp(const char *str1, const char *str2);
- int s21_strncmp(const char *str1, const char *str2, s21_size_t n);
- char *s21_strcpy(char *dest, const char *src);
- char *s21_strncpy(char *dest, const char *src, int n);
- int s21_sprintf(char *output, char *str, ...);
- // целое число в строку
- char* IntStr(char *buf,int is_int, long int n, char flag, char flag3, int width, int prec);
- // вещественное число в строку
- char* DoubleStr(char *buf, long double n, char flag, char flag3, int width, int prec);
- //длина целого числа
- int LenInt(int n);
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement