Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
C++ Primer
by
Stanley B.Lippman, Josee Lajoie, Barbara E.Moo
Edition:
5th Edition
ISBN13:
978-0-321-71411-4
ISBN10:
0 -321-71411-3
591
C++ programming
Home
Books
C++ Primer
Similar Books
No books found
Title
Chapter: 9 /
Q: 40
If the program in the previous exercise reads 256 words, what is its likely capacity after it is resized? What if it reads 512? 1,000? 1,048
Chapter: 9 /
Q: 41
Write a program that initializes a string from a vector
Chapter: 9 /
Q: 42
Given that you want to read a character at a time into a string, and you know that you need to read at least 100 characters, how might you improve the performance of your program
Chapter: 9 /
Q: 43
Write a function that takes three strings, s, oldVal, and newVal
Chapter: 9 /
Q: 44
Rewrite the previous function using an index and replace
Chapter: 9 /
Q: 45
Write a funtion that takes a string representing a name and two other strings representing a prefix, such as “Mr.” or “Ms.” and a suffix, such as “Jr
Chapter: 9 /
Q: 46
Rewrite the previous exercise using a position and length to manage the strings. This time use only the insert function
Chapter: 9 /
Q: 47
Write a program that finds each numeric character and then each alphabetic character in the string \"ab2c3d7R4E6\"
Chapter: 9 /
Q: 48
Given the definitions of name and numbers on page 365, what does numbers.find(name) return
Chapter: 9 /
Q: 49
A letter has an ascender if, as with d or f, part of the letter extends above the middle of the line. A letter has a descender if, as with p or g, part of the letter extends below the line
total questions:
591
Previous
50
51
52
53
54
Next
Questions
591
Views
Best Answers
299
Points
5
×
Close
add reason
reason