Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - string_package http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   String_Package
   The String_package is a set of standard functions  for  manipulating
   null (0) terminated strings. Most of the functions within the  package
   are  ANSI,  but there are a number of additional  functions  provided.
   Many  of these functions are closely related to functions in  the  Mem
   package.

   The  package  can be split into 5 functional groups and  a  number  of
   miscellaneous functions. They are organized as follow:

   Copying Functions
   These  are functions that allow strings to be copied.  Functions  that
   fall into this category are:
   strcpy
   strdup
   strncpy

   Concatenation Functions
   These  are  string concatenation functions which  mirror  the  copying
   functions.  Concatenation means that the source string is appended  to
   the destination string instead of being copied over it. Functions that
   fall into this category are:
   strcat
   strncat

   Comparison Functions
   These  functions allow strings to be compared with other  strings,  or
   parts of other strings. Functions that fall into this category are:
   strcmp
   strcmpl
   strncmp

   Conversion Functions
   These  functions  convert the contents of a string  into  a  different
   representation. Functions that fall into this category are:
   strlwr
   strupr

   Search Functions
   These  functions search a string for a given character or sequence  of
   characters. Functions that fall into this category are:
   strchr
   strcspn
   strpbrk
   strrchr
   strspn
   strstr

   Miscellaneous Functions
   Finally  we have some miscellaneous string functions which do not  fit
   into any other category:
   strlen
   strnset
   strrev
   strset


Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson