CSCI 261 - Programming ConceptsSpring 2019 - Lab 6B - Vector of WordsQuick Links: Canvas | Mines | Piazza | zyBooks |
|
| Home | Contact | Syllabus | Assignments | Schedule | Resources | | |
This lab is due by Thursday, April 4, 2019, 11:59 PM. Instructions
In this lab, you will have the user first enter a sentence that you will store in a string.
Then, you will need to split the sentence in to its individual words. Store these words
in a vector of strings.
This process is called String Tokenization. When the user is done entering their sentence, print in order:
Hey! Witness my first vector mojo!
Enter a sentence: The quick brown fox jumped over the lazy dog. So awesome! You entered 9 words. They are: 1: The 2: quick 3: brown 4: fox 5: jumped 6: over 7: the 8: lazy 9: dog. The first word is: The The last word is: dog. Gaze at my awesome. Functional Requirements
Hints
Lab SubmissionYou will submit your solution to this lab with the rest of Set6. Detailed instructions for doing this are posted in Assignment 6. This lab is due by Thursday, April 4, 2019, 11:59 PM. | |
Last Updated: 03/05/19 20:31
|