Do you want to remove all your recent searches?

All recent searches will be deleted

Like
Watch Later
Share
Add to

cpp.arrays.1: Printing The C++ Megamillions Numbers To A File (Node 24)

6 years ago182 views

***This video neither promotes nor condones gambling.***

This tutorial shows how solve a real-life problem with C++. We follow up on our C++ Megamillions program from the Node 23 Lesson. In this lecture, we will add the ability to print the generate lottery numbers out to a file.

You can view this tutorial in its original context here: http://djere.com/node/24
The LibreOffice Impress-generated presentation for this lecture is here:
http://djere.com/lectures/node24lecture/node24.printing_the_cpp_megamillions_numbers_to_a_file.html

Learning Objectives:
-Discuss the fstream header file.
-Discuss the ofstream command.
-Follow up on Djere.com/node/23.
-Take the output of the C++ Megamillions program and print it to a file.

Report this video

Select an issue

Embed the video

cpp.arrays.1: Printing The C++ Megamillions Numbers To A File (Node 24)
Autoplay
<iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/xrg3pu" allowfullscreen allow="autoplay"></iframe>
Add the video to your site with the embed code above