E-mail this post

Remember me (?)

All personal information that you provide here will be governed by the Privacy Policy of More...

#include <string.h>, syntax at the beginning of our code, means we automatically included these (pre-defined) functions in our program:

char *strcpy(char *dest, const char *src);
char *strncpy(char *dest, const char *src, size_t maxlen);
char *strcat(char *dest, const char *src);

size_t strlen(const char *s);

char *strlwr(char *s);
char *strupr(char *s);

int strcmp(const char *s1, const char *s2);
int strcmpi(const char *s1, const char *s2);
int stricmp(const char *s1, const char *s2);
int strncmp(const char *s1, const char *s2, size_t maxlen);
int strncmpi(const char *s1, const char *s2, size_t maxlen);
int strnicmp(const char *s1, const char *s2, size_t maxlen);

char *strchr(const char *s, int c);
char *strstr(const char *string, const char *substring);

Technorati Tags:
, , , , , ,

2 Responses to “string.h”

  1. Anonymous fefe 


  2. Anonymous angry 

    this doesnt teach ANYTHING

Leave a Reply

      Convert to boldConvert to italicConvert to link


German Flag Spanish Flag French Flag Italian Flag Portuguese Flag Japanese Flag Korean Flag Chinese Flag British Flag

This Website is optimized for Firefox. Users browsing with Internet Explorer may encounter problems while viewing pages.

C++ Maniac

Learn C



Learn Converting



Previous posts

Daily Lessons for programming in Visual Studio, using C code.