From af289c4f02c42090fb5c2290020c3050561db7e0 Mon Sep 17 00:00:00 2001 From: Gary Bradski Date: Fri, 30 Jun 2017 01:53:20 -0700 Subject: [PATCH] added description and output --- example_04-03.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/example_04-03.cpp b/example_04-03.cpp index 94ff005..af1d006 100644 --- a/example_04-03.cpp +++ b/example_04-03.cpp @@ -1,3 +1,5 @@ +//Example 4-3. Printing all of the nonzero elements of a sparse array + #include #include @@ -8,6 +10,9 @@ using namespace std; // Summation of a multidimensional array, done plane by plane // int main( int argc, char** argv ) { + + cout << "\nExample 4-3. Printing all of the nonzero elements of a sparse array" + << "\nCall:\n" << argv[0] << endl; // Create a 10x10 sparse matrix with a few nonzero elements //