Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need help with the following: * I would like to add a choice of frame types: single line, double line, or shaded. For instance:

I need help with the following:

* I would like to add a choice of frame types: single line, double line, or shaded. For instance:

 +---------+ +============+ +--------+ +=======+ | | || || | |* || ||# | | || || | |* || ||# +---------+ +============+ +--------+* +=======+# ********** #########

And:

* combine this project with the templated Array lab.

Here is my current code:

#include

#include

#include

#include

#include

using namespace std;

#define MAX_NAME_LENGTH 200

int maxlength;

std::vector split(std::string str,std::string sep){ char* cstr=const_cast(str.c_str()); char* current; std::vector arr; current=strtok(cstr,sep.c_str()); while(current!=NULL){ arr.push_back(current); current=strtok(NULL,sep.c_str()); } return arr;

}

int main() { char name[MAX_NAME_LENGTH]; std::vector arr; cout<<"Enter the phrase:"< maxlength) maxlength= arr[j].length(); } cout<<"############# Output ###############"<

}

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Locate all instant centers for the mechanism of Prob. 3.27.

Answered: 1 week ago

Question

8. Measure the effectiveness of the succession planning process.

Answered: 1 week ago

Question

7. Determine what feedback is provided to employees.

Answered: 1 week ago