From 3fb4eb9dd1e9ec8be9bfdc389627557b821f8d04 Mon Sep 17 00:00:00 2001 From: Pranav Date: Sat, 22 Feb 2020 11:20:13 +0530 Subject: [PATCH] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 1389b77..621cdea 100644 --- a/README.md +++ b/README.md @@ -252,6 +252,8 @@ int main() { `template class MultiProgress` is a class template that holds references to multiple progress bars and provides a safe interface to update the state of each bar. `MultiProgress` works with both `ProgressBar` and `BlockProgressBar` classes. +Use this class if you know the number of progress bars to manage at compile time. + Below is an example `MultiProgress` object that manages three `ProgressBar` objects.

@@ -355,6 +357,8 @@ int main() { `DynamicProgress` is a container class, similar to `MultiProgress`, for managing multiple progress bars. As the name suggests, with `DynamicProgress`, you can dynamically add new progress bars. Simply call `bars.push_back`. +Use this class if you don't know the number of progress bars at compile time. + Below is an example `DynamicProgress` object that manages six `ProgressBar` objects. Three of these bars are added dynamically.