subject

We have a file that has a name in it, but the name is written one character per line. we need to write this name to the screen. what is wrong with the following code? ifstream filein; filein. open("file. txt"); char ch; filein. get(ch) while(! filein. eof( ))

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 20:10
Assume that minutes is an int variable whose value is 0 or positive. write an expression whose value is "undercooked" or "soft-boiled" or "medium-boiled" or "hard-boiled" or "overcooked" based on the value of minutes. in particular: if the value of minutes is less than 2 the expression's value is "undercooked"; 2-4 would be a "soft-boiled", 5-7 would be "medium-boiled", 8-11 would be "hard-boiled" and 12 or more would be a "overcooked".
Answers: 1
question
Computers and Technology, 24.06.2019 19:50
Which is a characteristic of free and open-source software licenses? a. the source code is unavailable to everyone b. the source code is available only to the government c. the source code is available to all users d. the source code is constantly modified
Answers: 1
question
Computers and Technology, 25.06.2019 08:00
What are good colleges to apply to if you got like a 2.5 as a gpa? already got a call back from gcu at least its a start rt
Answers: 2
question
Computers and Technology, 25.06.2019 23:30
If i write one question multiple times.so will it be permanently fitted in my brain
Answers: 1
You know the right answer?
We have a file that has a name in it, but the name is written one character per line. we need to wri...
Questions
question
Mathematics, 07.04.2021 18:50
question
Health, 07.04.2021 18:50
question
Mathematics, 07.04.2021 18:50
question
Health, 07.04.2021 18:50
question
Mathematics, 07.04.2021 18:50
Questions on the website: 13722363