String Classes <cstring> or <string>
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: String Classes <cstring> or <string>

  1. #1
    Join Date
    May 2004
    Posts
    207

    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 online now Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    17,283

    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
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center