Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Asmaamasry Questions
705 Questions
Use accumulate to sum the elements in a vector<int>
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
169
Repeat the previous program, but read values into a list of strings
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
164
The algorithm header defines a function named count that, like find, takes a pair of iterators and a value. count returns a count of how often that value appears. Read a sequence of ints into a vector and print the count of how many elements have a given value
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
273
Use a stack to process parenthesized expressions. When you see an open parenthesis, note that it was seen
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
178
Write a class that has three unsigned members representing year, month, and day. Write a constructor that takes a string representing a date. Your constructor should handle a variety of date formats, such as January 1, 1900, 1/1/1900, Jan 1, 1900, and so on
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
170
Write a program to process a vector<string>s whose elements represent integral values. Produce the sum of all the elements in that vector. Change the program so that it sums of strings that represent floating-point values
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
140
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
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
152
Given the definitions of name and numbers on page 365, what does numbers.find(name) return
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
192
Write a program that finds each numeric character and then each alphabetic character in the string \"ab2c3d7R4E6\"
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
161
Rewrite the previous exercise using a position and length to manage the strings. This time use only the insert function
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
194
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
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
286
Rewrite the previous function using an index and replace
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
166
Write a function that takes three strings, s, oldVal, and newVal
C++ programming
2022-07-10
Answers
30
Question
40
Followers
30
0
1
310
Total:
705
Previous
4
5
6
7
8
Next
Go