Question: 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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!