Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Create a source file named wordblender.cpp that implements the class in wordblender.h in order to pass the tests in main.cpp . Download all the files
Create a source file named wordblender.cpp that implements the class in wordblender.h in order to pass the tests in main.cpp.
Download all the files here: http://andrewwinslow.com/3333/hwBLND/
1 Introduction A blend word is a word made by combining other words; e.g. turboast (turbo + boast), witchins (witch+ chins), and helloaf (hello + loaf). In this assignment, you'll construct such blend words consisting of words that overlap by exactly two characters Blend words can also be made three or more words, e.g. gumbotchamp (gumbo botchchamp), hois- takebabyss (hoist + stake kebab abyss), and eleventiceliactualpacayugazebonsaikido (eleven + entice + celiac actual alpaca +cayuga + gazebo + bonsai + aikido) 2 Instructions The following files have been given to you 1. A C++ header file (wordblender.h) declaring the WordBlender class 2. A C++ source file (main.cpp) containing a main function with tests 3. A text file (eleven-words.txt) containing 11 words 4. A text file (five-letter-words.txt) containing 1155 five-letter words 5. A text file (six-letter-words.txt) containing 1201 six-letter words Download the files at http://andrewwinslow.com/3333/hwBLND/. Create a new C++ source file named wordblender.cpp that implements the class declared in wordblender.h, so that wordblender.cpp and the provided files compile into a program that runs with no failed tests. Submit the source file word- blender.cpp 3 Submission and Gradirn Submit the aforementioned source file(s) via Blackboard as attached file(s). In the case of multiple submis- sions, the last submission before the deadline is graded For grading, each submission is compiled with the provided files and run. Submissions that do not run to completion (i.e. fail to print "Assignment complete.") receive no credit. Submissions that take an unreasonable amount of time (e.g. more than a minute or so) to run and do not meet the asymptotic efficiency requirements receive no credit. All other submissions receive full credit. See the course late work policy for information about receiving partial credit for late submissions 1 Introduction A blend word is a word made by combining other words; e.g. turboast (turbo + boast), witchins (witch+ chins), and helloaf (hello + loaf). In this assignment, you'll construct such blend words consisting of words that overlap by exactly two characters Blend words can also be made three or more words, e.g. gumbotchamp (gumbo botchchamp), hois- takebabyss (hoist + stake kebab abyss), and eleventiceliactualpacayugazebonsaikido (eleven + entice + celiac actual alpaca +cayuga + gazebo + bonsai + aikido) 2 Instructions The following files have been given to you 1. A C++ header file (wordblender.h) declaring the WordBlender class 2. A C++ source file (main.cpp) containing a main function with tests 3. A text file (eleven-words.txt) containing 11 words 4. A text file (five-letter-words.txt) containing 1155 five-letter words 5. A text file (six-letter-words.txt) containing 1201 six-letter words Download the files at http://andrewwinslow.com/3333/hwBLND/. Create a new C++ source file named wordblender.cpp that implements the class declared in wordblender.h, so that wordblender.cpp and the provided files compile into a program that runs with no failed tests. Submit the source file word- blender.cpp 3 Submission and Gradirn Submit the aforementioned source file(s) via Blackboard as attached file(s). In the case of multiple submis- sions, the last submission before the deadline is graded For grading, each submission is compiled with the provided files and run. Submissions that do not run to completion (i.e. fail to print "Assignment complete.") receive no credit. Submissions that take an unreasonable amount of time (e.g. more than a minute or so) to run and do not meet the asymptotic efficiency requirements receive no credit. All other submissions receive full credit. See the course late work policy for information about receiving partial credit for late submissionsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started