1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
umka21 [38]
3 years ago
8

Write a program to read a record from a binary file

Computers and Technology
1 answer:
BlackZzzverrR [31]3 years ago
4 0

Answer:

To read a record from binary file in C++ use read method.

Syntax: ifstream& write(const char*, int);

Explanation:

Algorithm:

Begin

  Create a structure Student to declare variables.

  Open binary file to write.

  Check if any error occurs in file opening.

  Initialize the variables with data.

  If file open successfully, write the binary data using write method.

     Close the file for writing.

  Open the binary file to read.

  Check if any error occurs in file opening.

  If file open successfully, read the binary data file using read method.

     Close the file for reading.

  Check if any error occurs

  Print the data.

End

You might be interested in
What is Ce stands for?
Fynjy0 [20]

Explanation:

hello I don't know ok sorry

5 0
3 years ago
Parts of a computer software
VARVARA [1.3K]

Answer:

I think application software

utility software

networking software

4 0
3 years ago
A license plate consists of 2 letters followed by 1 digit. How many license plates are possible if the first letter can be any l
Art [367]

Answer:

5400

Explanation:

  • As there are three spaces to be filled. First can have any alphabet, but not i and o. And there are 26 alphabets so, only one out of 24 can be filled in the first blank.
  • In the second blank any alphabet can be used, but not the one same as the first one so we can choose from the remaining 25 alphabets.
  • In the last blank any number can be chosen, but not 0 so we have 9 options to choose from.

Finally,the number of options available is <em>24*25*9 = 5400</em>. So, 5400 license plates can be made using these combinations.

8 0
3 years ago
What statement best describes the Microsoft Windows operating system?
jok3333 [9.3K]
A.microsoft windows is a relatively secure operating system
8 0
4 years ago
Read 2 more answers
Which is the correct attribute syntax
taurus [48]

ANSWER:  GIVE ME BRAINLIEST AND ILL GIVE YOU THE ANSWER

EXPLANATION: ALL YOU NEED TO DO IS GIVE ME BRAINLIEST FOR THE ANSWER

3 0
3 years ago
Other questions:
  • When you ____ software, you are adapting it from one type of computer or operating system to run on a different computer or oper
    13·1 answer
  • What is an advantage of using a meta-search engine?
    14·1 answer
  • What two names are used to describe the configuration in which internal and ​external dns queries are handled by different dns s
    13·1 answer
  • Write the java statement to creat an object mp4 class digital​
    8·1 answer
  • Maureen downloads three pictures of cabin sizes for her siblings to vote on. She inserts one picture per slide. The third pictur
    10·1 answer
  • Gabe Kelp is a fourteen-year-old goalie for the Soaring Eagles soccer team. He and his teammates are each creating a screen name
    11·1 answer
  • Role of computers in everyday life​
    15·1 answer
  • Suppose users share a 1 Mbps link. Also suppose each user
    10·1 answer
  • ____________________ parameters are useful in three situations: • When the value of the actual parameter needs to be changed • W
    5·1 answer
  • The red dot says ‘you tried to read records from a table called “Netflix Content” but that table doesn’t exist in this’
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!