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
Kasim Kamal Questions
290 Questions
Repeat the previous program but read strings this time
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
176
Write a program to read a sequence of ints from cin and store those values in a vector
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
142
How many elements are there in each of the following vectors? What are the values of the elements?
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
225
Which, if any, of the following vector definitions are in error? For those that are legal, explain what the definition does. For those that are not legal, explain why they are illegal
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
168
Is the following range for legal? If so, what is the type of c
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
143
Write a program that reads a string of characters including punctuation and writes what was read but with the punctuation removed
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
173
What does the following program do? Is it valid? If not, why not?
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
195
Rewrite the program in the first exercise, first using a while and again using a traditional for loop. Which of the three approaches do you prefer and why?
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
178
What would happen if you define the loop control variable in the previous exercise as type char? Predict the results and then change your program to use a char to see if you were right
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
184
Use a range for to change all the characters in a string to X
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
181
Write a program to read strings from the standard input, concatenating what is read into one large string. Print the concatenated string. Next, change the program to separate adjacent input strings by a space
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
146
Write a program to read two strings and report whether the strings are equal. If not, report which of the two is larger. Now, change the program to report whether the strings have the same length, and if not, report which is longer
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
177
Explain how whitespace characters are handled in the string input operator and in the getline function
C++ programming
2022-07-03
Answers
30
Question
40
Followers
30
0
1
164
Total:
290
Previous
8
9
10
11
12
Next
Go