C/C++ Programmer's ReferenceEssential programming tips at your fingertips! This handy programmer's reference provides quick access to syntax, functions, classes, methods, as well as the Standard Template Library (STL). The book covers ANSI/ISO Standard C and C++, including the new C99 standard. |
From inside the book
Results 1-3 of 26
Page 150
... < string.h > char * strncpy ( char * strl , const char * str2 , size_t count ) ; The strncpy ( ) function copies up to count characters from the string pointed to by str2 into the array pointed to by str1 . str2 must be a pointer to a ...
... < string.h > char * strncpy ( char * strl , const char * str2 , size_t count ) ; The strncpy ( ) function copies up to count characters from the string pointed to by str2 into the array pointed to by str1 . str2 must be a pointer to a ...
Page 151
... < string.h > char * strrchr ( const char * str , int ch ) ; The strrchr ( ) function returns a pointer to the last occurrence of the low - order byte of ch in the string pointed to by str . If no match is found , a null pointer is ...
... < string.h > char * strrchr ( const char * str , int ch ) ; The strrchr ( ) function returns a pointer to the last occurrence of the low - order byte of ch in the string pointed to by str . If no match is found , a null pointer is ...
Page 153
... pointer to the string to be tokenized , but subsequent calls use NULL for the first argument . The strtok ( ) function maintains an internal pointer into the string being tokenized . When strtok ( ) ' s first argument points to a string ...
... pointer to the string to be tokenized , but subsequent calls use NULL for the first argument . The strtok ( ) function maintains an internal pointer into the string being tokenized . When strtok ( ) ' s first argument points to a string ...
Common terms and phrases
added by C99 algorithm array pointed atan2 bitset bool CharType str class Comp class InIter2 Comp cmpfn comparison function complex<T const char const wchar_t const_iterator constructor contains cout ctype.h default defined deque double complex end1 end2 errno family of functions floating-point ForIter2 form constructs format flags fsetpos function returns header I/O system include iostream include math.h include stdlib.h InIter end integer invoking string iostream iostream library iostream.h key_type &k long double long long int longjmp macros malloc math.h member of ios multiset namespace null operator output parameter printf qualified by restrict queue Related functions returns a reference Returns an iterator Returns the number Returns true reverse iterator scanf second form allows sequence size_t size_type indx specify a comparison stdio.h stdlib.h str1 str2 strcmp strcpy string pointed strl strtol template class template class ForIter time_t unsigned variable vector void wchar.h wide-character