C++ - "gx4_stringclass" reference guide

<< BACK TO MENU

 

  SHORT DESCRIPTION: these files contain an implementation of a string class, named CString just like the one with the same name found in MFC; this string class is self-allocated, self-destroyed and self-resizeable; it has assignment, concatenation, comparison, conversion and cin - cout iostream manipulation overloaded operators, plus a ton of MFC-like member functions.
     
  DEFINITION/MACRO LIST:
     

  FUNCTION LIST:
    slen (const char* );

  long int slen (const char* pcString)
   

The slen() function is almost identical with "strlen()" function from <string.h> header. It has been rewritten so that it should have a name compliant with the next rewritten functions.

PARAMETERS:
pcString = the input string who's length is desired;

RETURN VALUES:
This function returns the length of the NULL terminated input string, without the NULL character.