basic output file

My professor didnt have time to teach output file but he said it was easy just look it up in the the book. I dont understand the book and i have to answer this question in the book.

Write the statements needed to create and open an output file outfile called output1 and print to it the message "here is the output". write also the #include needed.




Try a look at http://www.cplusplus.com/doc/tutorial/. There are descriptions and the examples you'll need.
Topic archived. No new replies allowed.