menu
Qamnty
Login
Register
My account
Edit my Profile
Private messages
My favorites
Define an object named outfile that can be used to write data from program variables to a file.
Ask a Question
Questions
Unanswered
Tags
Ask a Question
Define an object named outfile that can be used to write data from program variables to a file.
asked
Aug 19, 2018
178k
views
4
votes
Define an object named outfile that can be used to write data from program variables to a file.
Computers & Tech
college
Leigh Shepperson
asked
by
Leigh Shepperson
7.7k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
3
votes
Frist, we define the variable outfile by this line:
ofstream outfile;
Since the variable is to be used to write data from program variables, we don't assign it any type of variable for it to be a general variable for different values
Haawa
answered
Aug 25, 2018
by
Haawa
8.5k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
← Prev Question
Next Question →
Related questions
asked
Aug 4, 2018
88.6k
views
Define an object named outfile that can be used to write data from program variables to a file.
Nilish
asked
Aug 4, 2018
by
Nilish
8.0k
points
Computers & Tech
high-school
1
answer
1
vote
88.6k
views
asked
Apr 15, 2020
156k
views
Given an initialized String variable outfile, write a statement that declares a PrintWriter reference variable named output and initializes it to a reference to a newly created PrintWriter object associated
Sixstatesaway
asked
Apr 15, 2020
by
Sixstatesaway
7.9k
points
Computers & Tech
high-school
1
answer
0
votes
156k
views
asked
Aug 14, 2021
203k
views
Write a function named lineStats. The function lineStats takes three parameters: 1.inFile, a string that is the name of an input file 2.outFile, a string that is the name of an output file 3.threshold,
Jasiry
asked
Aug 14, 2021
by
Jasiry
8.6k
points
Computers & Tech
college
1
answer
4
votes
203k
views
Ask a Question
Welcome to Qamnty — a place to ask, share, and grow together. Join our community and get real answers from real people.
Categories
All categories
Mathematics
(3.7m)
History
(955k)
English
(903k)
Biology
(716k)
Chemistry
(440k)
Physics
(405k)
Social Studies
(564k)
Advanced Placement
(27.5k)
SAT
(19.1k)
Geography
(146k)
Health
(283k)
Arts
(107k)
Business
(468k)
Computers & Tech
(195k)
French
(33.9k)
German
(4.9k)
Spanish
(174k)
Medicine
(125k)
Law
(53.4k)
Engineering
(74.2k)
Other Questions
Seven basic internal components found in a computer tower
describe an advance in technology that makes life more enjoyable. what discoveries contribute to this technology?
Disadvantages of using animation in advertising? advantages and disadvantages of using animation for education? advantages and disadvantages of using animation in entertainment?
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search Qamnty