CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 2004

    String Classes <cstring> or <string>

    Just wished to know if it is possible to write codes using the above two classes to do the following: (probably a function each)

    1. Count the number of words and characters in the text file

    2. Deleting strings from the array

    3. Replace all occurrences of a string with a new string //something similar to what is available in Notepad.exe

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Hanover Germany

    Re: String Classes <cstring> or <string>

    AFAIK both <cstring> and <string> are not classes but header files:
    <cstring> - This header file defines several functions to manipulate C strings and arrays.
    <string> - This header introduces string types, character traits and a set of converting functions.
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.