cpp.vectors.1: Filling and Shuffling a C++ Vector (Node 21)

cpp.vectors.1: Filling and Shuffling a C++ Vector (Node 21)

In this tutorial, we will learn how to fill a vector, and then randomly shuffle the numbers contained in that vector.br br View this tutorial in its original context here:br br The LibreOffice Impress-generated HTML slideshow for this lecture is here:br br Learning objectives:br -Explain the srand function in the C standard library.br -Explain the rand function in the C standard library.br -Explain the difference between random and pseudo-random.br -Build a C++ vector program that incorporates pseudo-random numbers.


User: Djere University

Views: 2

Uploaded: 2012-06-10

Duration: 42:26