1.The program must compile with clang++
2.This website has the solution and all the files to help you in making the program:
https://github.com/ChristopherJones72521/CS23001-KentState/tree/master/Projects/String
but the problem is what I’m asking for my assignment is only part one of the program which I have listed below and the website has additional parts and requirements, so if you can figure out which part to take from the website from each file and which part to leave that would be great, and you dont have to write new files from the scratch.
I’ve uploaded a zip file with all the files our instructor gave us and feel free to make new files if needed but you sholud work as the file required.
Here’s what I need:
Objectives:
-Use a well developed ADT class which utilizes operator overloading.
-Use dynamically allocated arrays.
Problem:
The Apache web server produces information detailing web page accesses, this information is stored in a log file in the Apache Common log file format. The assignment is to develop a program to process this log file and keep track of the different types of log entries.
Requirements:
using namespace std;
is stricly forbiden. As are any global using
statements.string
(please use all lower case letters).String
using the class construct. It will be a NULL (zero) terminating charater array.string
so you should not use this name. Use String
instead.char
for storage with a max capacity based on a constant const int STRING_SIZE = 256;
This array will store the characters along with the NULL (0) terminator.operator[](int)
– both accessor and modifier versionslength()
– returns number of characters in stringcapacity()
– returns the max number of characters that can be stored in the stringsubstr(int start, int end)
– returns the sub string from start to end position (inclusive)findch(int pos, char ch)
– returns location of ch at or after posfindsstr(int pos, cosnt String& str)
– returns the location of str at or after posString
class.make tests
will build and run the unit tests.Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more