eHow launches Android app: Get the best of eHow on the go.

C/C++ Programming

Sort by:
Best Match
Most Popular
Newest

Showing 1-15 of 15 results

  • How to Use the Strtok Function in C++

    The C++ strtok function tokenizes a string. It splits a source string into segments called tokens that are separated by any of a specified set of characters called delimiters. Strtok takes the...

  • How to Use the Memcmp Function in C++

    The C++ memcmp function compares a specified number of bytes of two blocks of memory. It returns 0 if they all match and a nonzero value to indicate which value is greater. The following steps...

  • How to Use the Memcpy Function in C++

    The memcpy function in C++ copies the specified number of bytes of data from the specified source to the specified destination. This is a binary copy so the underlying data type is irrelevant. The...

  • How to Use the Memmove Function in C++

    The memmove function in C++ copies the specified number of bytes of data from the specified source to the specified destination. This function is called a move because it uses an intermediate...

  • How to Use the Memset Function in C++

    The C++ memset function is short for "memory set." It sets a specified block of memory to a specified character, overwriting the original data. It does not check for overflow and does not use an...

  • How to Use the Strcat Function in C++

    The C++ strcat function is short for "string concatenate." Strcat appends a copy of a source string to a destination string. The null terminator character in the destination will be overwritten by...

  • How to Use the Strchr Function in C++

    The C++ strchr function locates the first occurrence of a specified character in a source string and returns a pointer to that location. This includes the null character so strchr also can be used...

  • How to Use the Strcpy Function in C++

    The C++ strcpy function copies a string from a source location to a destination location and provides a null character to terminate the string. The destination should be large enough to contain...

  • How to Use the Strcspn Function in C++

    The C++ strcspn function searches a source string for the first occurrence of characters in a list and returns the number of characters read. This can include the terminating null character, so...

  • How to Use the Strncat Function in C++

    The C++ strncat function appends up to a specified number of characters to a destination string. The null terminator character in the destination string will be overwritten by the first character...

  • How to Use the Strpbrk Function in C++

    The C++ strpbrk function searches a source string for the first occurrence of characters in a list and returns a pointer to that first occurrence. If there are no matches in the source string,...

  • How to Use the Strrchr Function in C++

    The C++ strrchr function searches a source string for the last occurrence of a specified character and returns a pointer to that occurrence. If there are no matches in the source string, strrchr...

  • How to Use the Strspn Function in C++

    The C++ strspn function determines the length of the maximum initial part of a source string that consists only of characters in a specified list. If every character in the source string appears...

  • How to Use the Strstr Function in C++

    The C++ strstr function locates a specified substring within a source string. The scan does not include terminating null-characters. Strstr returns a pointer to the first occurrence of the...

  • How to Use the Memchr Function in C++

    The C++ memchr function searches a specified number of bytes in a block of memory for the first occurrence of a specified value. It returns a pointer to this location and a null pointer if the...

  • 1
  • 1

Copyright © 1999-2009 eHow, Inc. Use of this web site constitutes acceptance of the eHow Terms of Use and Privacy Policy .   en-US Portions of this page are modifications based on work created and shared by Google and used according to terms described in the Creative Commons 3.0 Attribution License. † requires javascript

Demand Media