-
August 27th, 2013, 12:12 AM
#1
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
-
August 27th, 2013, 04:11 AM
#2
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|