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]
3 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]3 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
Mrs. Ferrar is an older woman with a limited income. Which programs and services may assist her with obtaining healthy meals and
Kitty [74]

The programs and services that may assist her with obtaining healthy meals and becoming more physically active are:

1. food stamps or SNAP

2. food banks

5. community parks

6. community gardens

<h3>What are food stamps?</h3>

A food stamps is known to be a kind of voucher that is often issued very cheap by the state for low income and it is often exchangeable for food.

Note that The programs and services that may assist her with obtaining healthy meals and becoming more physically active are:

1. food stamps or SNAP

2. food banks

5. community parks

6. community gardens

See options below

food stamps or SNAP

food banks

WIC

NSLP

community parks

community gardens

Learn more about food stamps from

brainly.com/question/1085704

#SPJ12

5 0
2 years ago
In the context of firewall as a nonbiometric security measure, a _____ is software that acts as an intermediary between two syst
irga5000 [103]

Answer:

Proxy Server                        

Explanation:

  • Proxy server is a server that acts as a mediator between two systems.
  • One system can be your computer and the other can be the server to which you are asking a service, such as requesting a web page.
  • Lets suppose you request a web page from a server and you type a URL of a website to access a web page.
  • This request goes to proxy server which sends this request on your behalf to the target server in order to retrieve that web page.
  • Proxy server makes this request to the target server on the internet by using one of its IP addresses.
  • When the proxy server gets that web page, it will forward that web page to your requesting computer.
  • If you request a specific service such as a website frequently the proxy server saves that website on its cache.
  • So if you request that website again, proxy server will forward it to you from its cache rather than requesting it again from the target server on your behalf resulting in quick response to the user's request.
  • Proxy servers provide users with privacy to access the websites, and they can surf the internet anonymously .
8 0
3 years ago
How many worksheets display in the excel window when you create a new blank workbook?
zalisa [80]
By default it is 3 worksheets.  By default it is 3 worksheets. But it could be some settings that can change this quantity
4 0
4 years ago
Which statement about the Paste Link option is true?
zaharov [31]
A statement that is true for the Paste Link option is that you always need the source file to make automatic  updates in the linked document. All info in the linked document is based on the source file so it is an absolute necessity.
7 0
4 years ago
Which type of data is shown below?<br> apple, 0.85<br> banana, 0.90<br> peach, 1.50
d1i1m1o1n [39]

Answer:

dictionary data

Explanation:

data = {"apple" : 0.85, "banana" : 0.90, "peach": 1.50}

4 0
3 years ago
Other questions:
  • To employ an access key, press and hold down the ____ key as you tap the access key.
    14·1 answer
  • Consider the unsigned decimal number 35. What is the value in hexadecimal?<br><br> 1. 3510 = ____ 16
    13·1 answer
  • An auxiliary view is always projected from the view that shows the inclined surface as a(n) _____.
    14·1 answer
  • Select the answers that best describe showing respect for confidential data. Check all of the boxes that
    10·1 answer
  • Are NOT likely to stop suddenly.
    14·1 answer
  • Write a program called DeliveryCharges for the package delivery service in Exercise 4. The program should again use an array tha
    9·1 answer
  • For what kind of work would you use a block plane?
    10·1 answer
  • (Shuffle rows) Write a method that shuffles the rows in a two-dimensional int array using the following header: public static vo
    12·1 answer
  • What is the most common etical rule that must be applied in all technologies​
    5·1 answer
  • How do u mark bralienst
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!