answer.
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
harkovskaia [24]
2 years ago
13

Write a statement that defines an ifstream object named inputFile and opens a file named "Friends.txt".

Computers and Technology
1 answer:
Simora [160]2 years ago
5 0

Answer:

ifstream inputFile;

inputFile.open("Friends.txt");

Explanation:

Though, the programming language is not stated, questions like this are often from C++.

The first statement defines the ifstream object using the following syntax.

ifstream [object_name]

In this case, the object name is inputFile

So, the syntax becomes

ifstream inputFile;

The next line opens a file using the following syntax.

[object_name].open("Filename")

Here, object_name is inputFile and filename is Friends.txt

So, the open statement becomes

inputFile.open("Friends.txt")

You might be interested in
Frequent menu users can become annoyed if they must make several menu selections to complete a simple task. Suggest two ways you
eimsori [14]

Answer:

to refine the menu approach

1. Provide hotkeys for frequently accessed menu items.

2. Allow advanced users to customize a quick access bar to allow them to quickly access a more frequently used item.

Explanation:

1. Shortcut keys (Hot keys) provide a method for users to activate frequently used menu items in your menu system and to provide keyboard access to your application for those users who do not.

2. The Quick Access Toolbar (or QAT) allows you to create an easily accessible group of shortcuts to the tools you use most frequently.

5 0
2 years ago
Shirley was unsure about what career to go into. Her high school counselor suggested a personal assessment to point out Shirley’
Alex73 [517]
<span>I think that she would be well suited in going into law enforcement or fire fighting. Since she loves to stay active and is cool under pressure, both of those jobs would be very well suited for her personality. Those 2 jobs demand to stay cool into delicate situations. Also, she would be able to come in to help people in need.</span>
4 0
2 years ago
Read 2 more answers
When does the narrator of "EPIC 2015" say the "road to 2015" began?
Zigmanuir [339]

Answer:

The answer is "In the late 20th century"

Explanation:  

EPIC 2015 is a short movie released in 2005 by Robin Sloan and Matt Thompson, In this film, there are some forecasts for 2015, which are very tech. In 2008, Google and Amazon were added as an alternate timeline, together with the frightfully "Google."

  • This film is also known as Animated Flash video because in this film there is full use of animation.
  • In this film, the narrator tells about "road to 2015", in the late 20 century.

8 0
2 years ago
Read 2 more answers
A(n) ________ system collects data from various key business processes and stores the data in a single comprehensive data reposi
Anni [7]
Management information
4 0
2 years ago
What ""old fashioned"" features of checking accounts is p2p replacing
balandron [24]

Answer:

Bank or Wire transfers and ATM cash withdrawls

Explanation:

With P2P solutions like PayPal and Venmo there is far less reason to ever handle cash, especially from one person to another.

If only one answer is allowed then I would lean towards "ATM Cash Withdrawls".

3 0
2 years ago
Other questions:
  • In cell e5, create a formula using the vlookup function to determine the dog type for teen anna morante based on the program cod
    13·2 answers
  • Mr. Cooper would like to customize his Excel software so his students can create an electronic graph in Excel for their lab repo
    6·1 answer
  • When workers demonstrate patience, are able to manage there emotions, and get along with other employees, which skills are being
    11·2 answers
  • QUESTION 2 of 10: New shoes are on SALE. You find a pair you like for $85 dollars. But you only have $45 with you. So, you pay $
    13·1 answer
  • For any element in keysList with a value greater than 60, print the corresponding value in itemsList, followed by a semicolon (n
    14·2 answers
  • Graduating from college can boost your income 60% compared to high school graduates. An average high school graduate without a c
    8·1 answer
  • External network security threats can include management failure to support organization-wide security awareness, inadequate sec
    12·1 answer
  • (choose one) Which is the proper means to decrement the integer variable, myScore, by one?
    15·1 answer
  • Consider the following class declaration: public class Square { private double sideLength; public double getArea() { return side
    13·1 answer
  • Describe how a cell’s content and format attributes are related.
    13·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!