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
Ludmilka [50]
2 years ago
14

Suppose that outFileis an ofstreamvariable and output is to be stored in the file outputData.out. Which of the following stateme

nts opens the file outputData.outand associates outFileto the output file?
a.outFile("outputData.out");
b.outFile.open("outputData.out");
c.open(outFile,"outputData.out");
d.open.outFile("outputData.out");
Computers and Technology
1 answer:
BlackZzzverrR [31]2 years ago
5 0

Answer:

Option b outFile.open("outputData.out");

Explanation:

In C++, there are several classes given to handle output and input of characters to or from files. They are:

  • ofstream that write on files
  • ifstream that read from files

We can use an object of ofstream to hold the contents that we wish to output to an external file. The general syntax is as follows:

           ofstream_obj.open(file_name)

This will create a file with a specific file name and it possesses all the contents from the obstream_obj.

You might be interested in
I need answer poooo<br>​
Fiesta28 [93]

Answer:

what is this?Are yhere any options for this question ❓

7 0
2 years ago
Since the value we want to receive is either true or false, it makes the most sense to use:
EastWind [94]

Answer:

Logical Expressions

Explanation:

The expressions  that have logical statements which could be "true or false" are known as logical expressions. These types of expressions are also known as Boolean Expressions.

These expression are used in computer programming. The purpose of these expressions in programming is to make a decision that could be based on different conditions. These conditions could be true or false. This is the main reason that. logical expression makes best sense for values received in true or false.

8 0
3 years ago
Which operation would occur in the equation =C3+D5*C6-B2 in excel.
UkoKoshka [18]

Answer:

The operation that will occur first is D5*C6 (multiplication).

Explanation:

Excel’s default order of operator precedence mandates that Excel perform multiplication before addition and substraction. If you want the addition or substraction to be performed before multiplication or division, they must be in parentheses.

The order of operations in exel is:

1. Evaluate items in parentheses.

2. Evaluate ranges (:).

3. Evaluate intersections (spaces).

4. Evaluate unions (,).

5. Perform negation (-).

6. Convert percentages (%).

7. Perform exponentiation (^).

8. Perform multiplication (*) and division (/), which are of equal precedence.

9. Perform addition (+) and subtraction (-), which are of equal precedence.

10. Evaluate text operators (&).

11. Perform comparisons (=, <>, <=, >=).

5 0
2 years ago
In what type of computer are exchangeable disks mostly used?​
sasho [114]

Answer:

Laptops

Explanation:

They are the most common disk exchanging devices.

7 0
2 years ago
If you need to set up direct deposit, which information from your check would you likely need?
natita [175]
<span>When a person goes to set up a direct deposit slip from their checking checking they will need several things. They person will need the routing number to the financial institution and the checking account number from the financial institution. Both of these can be found on the bottom of a check. The person will also need to know the full name of the bank they are using. If the person has a debit card only, they will need to contact the bank to get their specific information to set up the direct deposit.</span><span />
5 0
3 years ago
Other questions:
  • How do computers perform complicated tasks built from simple instructions?
    14·1 answer
  • Which one of the following terms is defined as the material and surfaces upon which an artist works?
    9·1 answer
  • Which windows command always navigates the command-line interface back to the root directory?
    8·1 answer
  • What are the two types of digital water marking?
    5·1 answer
  • What is the name of the symbol that is used to classify and categorize information?​
    10·2 answers
  • To use
    11·1 answer
  • Beyond adding equations, what else does the Insert Equation feature allow users to do?
    7·1 answer
  • Write a function check_palindrome that takes a string as an input and within that function determines whether the input string i
    12·1 answer
  • Why does my roku tv keep disconnecting from the internet.
    13·1 answer
  • How are &lt; embed &gt; tags used in web page creation?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!