How is your Wednesday going Refer to slide 8 88 from Chapter 8 slides Uses

How is your wednesday going refer to slide 8 88 from

  • No School
  • AA 1
  • 4

This preview shows page 1 - 3 out of 4 pages.

Wednesday, the output should be “Welcome Matt! How is your Wednesday going?”). Refer to slide 8- 88 from Chapter 8 slides. Uses string manipulation. #6 #6 Write a program that will use vectors to allow the user to input as many values as desired, and pass that vector to a function to search for a number. The function returns the index of where the number is found or that it didn't find the number. Uses Vectors and searching. #7 Write a program that will take ten words as input and sort them alphabetically using cstrings. Use either an input file or the keyboard to give the program the input. Uses cstrings and array sorting. #8 Repeat the program using strings. Uses strings and array sorting.
Image of page 1

Subscribe to view the full document.

#9 Write a program that allows the user to input two sentences. Use getline to retrieve one sentence with strings and to retrieve the other with cstrings. Which getline function do you find easier to use? Which one is more flexible? Uses cstrings and strings. #10 Write a program that will take an input file into strings one line at a time, and allows the user to input a word or phrase for each line he/she wants removed. Output either to the screen or another file. Make sure your program works even if the word/phrase is not in the line. (example: the line is “The sky seems a little grey today.”, the user enters “ a little”, the output should be “The sky seems grey today.”) Refer to slide 8-88 from Chapter 8 slides. Uses files and string manipulation.
Image of page 2
Image of page 3
  • Fall '19
  • Array, Vector Motors, Variable-length array

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes