how do we build our own string functions from
scratch and not use the built in functions from the String class and
a function to open and close a file given its name. then, check whether
or not the file exists. It should read an opened file into an array of characters. assume the array is large enough to hold an entire file (e.g. 100,000 characters) then
add a function for saving the text stored in an array to a file and check
whether or not the output file already exists, and if it does, ask the
user whether he/she wishes to overwrite the file.
also how do we count the number of words and characters in the text file and add
a function for inserting a string into the array, a function for deleting strings from the array, a function that searches the text for a pattern. Show all occurrences of a string, and a function to replace all occurrences of a string with a new string. Note that this
operation is a combination of search, delete, and insert operations.
I'm new to c++ and i want to learn how to actually code the above.