subject

Given array : string names[10]; and text file “data. txt”. write a program to do the following

a. copy data from the file into array names

calling statement: copydata(“data. txt”, names);

b. display array names

calling statement: displaynames( names );

c. sort array names using the “sort” member of library

calling statement: sort(names, names+10);

d. display the sorted form of array names

calling statement: displaynames (names );

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 07:30
In the film "epic 2015," epic is the name for:
Answers: 3
question
Computers and Technology, 22.06.2019 16:30
Technician a says that a dry sump system uses no oil storage sump under the engine. technician b says that a wet sump system uses no oil storage sump under the engine. who is correct?
Answers: 3
question
Computers and Technology, 22.06.2019 19:00
How is the number 110 written when expanded out to place values in the base 2 (binary) number system? options: 2 x 4 + 3 x 2 + 4 x 1 1 x 2 + 1 x 2 + 0 x 2 1 x 100 + 1 x 10 + 0 x 1 1 x 4 + 1 x 2 + 0 x 1
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
What can a word user do with the customize ribbon dialog box? check all that apply. minimize the ribbon add a new tab to the ribbon remove a group from a tab add a group to a tab choose which styles appear choose which fonts appear choose tools to appear in a group
Answers: 1
You know the right answer?
Given array : string names[10]; and text file “data. txt”. write a program to do the following
Questions
question
Biology, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
question
Mathematics, 28.04.2021 17:00
Questions on the website: 13722367