Advertising Console

    cpp.arrays.0: Using C++ To Create A Megamillions Program (Node 23)

    Repost
    Djere University

    by Djere University

    4
    317 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.