subject

Write a program that reads the contents of a text file by line, and outputs the number of characters in the line and the first 10 characters of the line, while if the line is less than 10 characters, the last character of the line is output as many times as it takes up to 10 characters. Write this program in two ways: using the functions of working with streams and a buffer in the style of the C and C++language. Help me pleas!!!

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 17:00, Janznznz1121
Your computer running windows 10 is doing some very strange things with the operating system. you are fairly certain it is not a hardware issue. you need to try to get further insight into what is going on within the operating system. which tool would be best suited for this?
Answers: 2
image
Computers and Technology, 23.06.2019 06:30, eddsworldfrantic
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
image
Computers and Technology, 24.06.2019 01:00, summerjoiner
Verify each identity[tex] \frac{csc}{cot \: x \: + \: tan \: x} = cos \: x[/tex]
Answers: 1
image
Computers and Technology, 24.06.2019 13:50, Estefaniamarilicolin
What does code do? a creates a text box that says "solid black" b creates a black border of any width c creates a black border 1 pixel wide
Answers: 1
You know the right answer?
Write a program that reads the contents of a text file by line, and outputs the number of characters...

Questions in other subjects:

Konu
Mathematics, 06.11.2020 23:00
Konu
History, 06.11.2020 23:00
Konu
Arts, 06.11.2020 23:00