TipsMake
Newest

Tags : things to know about c programming

The strcoll () function in C
Programming C 25 May 2019

The strcoll () function in C

the function int strcoll (const char * str1, const char * str2) compares strings str1 and str2. the result depends on setting lc_collate.

Read More
The strncpy () function in C
Programming C 25 May 2019

The strncpy () function in C

strncpy char * (char * dest, const char * src, size_t n) copies up to n copies to n characters from the string pointed to by src to dest. in case the length of the src is smaller

Read More
The strcspn () function in C
Programming C 25 May 2019

The strcspn () function in C

the function size_t strcspn (const char * str1, const char * str2) calculates the length of the character segment of string str1 without containing the characters in str2.

Read More
The strerror () function in C
Programming C 25 May 2019

The strerror () function in C

the function char * strerror (int errnum) searches for an internal array for errnum error numbers and returns a pointer to a string of error messages.

Read More
The function strpbrk () in C
Programming C 25 May 2019

The function strpbrk () in C

char * strpbrk (const char * str1, const char * str2) finds the first character in str1 string that connects any character specified in str2. (not including null ending

Read More
The strrchr () function in C
Programming C 25 May 2019

The strrchr () function in C

char * strrchr (const char * str, int c) looks for the last occurrence of the character c (an unsigned char) in the string pointed to by parameter str.

Read More
The strstr () function in C
Programming C 25 May 2019

The strstr () function in C

char * function strstr (const char * haystack, const char * needle) looks for the final occurrence of the whole needle string (not including the ending null character) that is

Read More