From 125e3454f791ca8fd6b33ec00273eeace073d152 Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Fri, 30 Jun 2017 14:15:58 -0700 Subject: [PATCH] Corrected the header, added output. --- example_07-01.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/example_07-01.cpp b/example_07-01.cpp index 81daeeb..9ee50c7 100644 --- a/example_07-01.cpp +++ b/example_07-01.cpp @@ -1,5 +1,6 @@ -// alphablend -// +// Example 7-1. Using the default random number generator to generate a pair of integers +// and a pair of floating-point numbers + //#include #include #include @@ -7,6 +8,10 @@ using namespace std; int main(int argc, char** argv) { + cout << "\nExample 7-1. Using the default random number generator" + << "\nto generate a pair of integers and a pair of" + << "\n floating-point numbers" + << "\n\nCall:\n" << argv[0] << "\n" << endl; cv::RNG rng = cv::theRNG(); cout << "An integer: " << (int)rng << endl;