没有合适的资源?快使用搜索试试~ 我知道了~
指标:现代C ++的活动指标
共71个文件
hpp:17个
cpp:17个
gif:13个
需积分: 5 0 下载量 142 浏览量
2021-01-30
14:58:27
上传
评论
收藏 8.58MB ZIP 举报
温馨提示
强调 线程安全进度条和微调器 仅标头的库。 获取include/indicators的副本。 single_include/indicators单头版本。 上述GIF的来源可在找到 麻省理工学院执照 目录 支持指标 其他样本 基本进度条 要在您的应用程序中引入进度条,请包括indicators/progress_bar.hpp并创建一个ProgressBar对象。 这是进度条的一般结构: {prefix} {start} {fill} {lead} {remaining} {end} {percentage} [{elapsed}<{remaining}] {postfix} ^^^^^^^^^^^^^ Bar Width ^^^^^^^^^^^^^^^ ProgressBar中的进度量保持为size_t ,范围为[0, 100] size_t [0, 100] 。 当进度达到100时,进度完成。 在应用程序级代码中,可以通过两种方法来更新此进度: 使用bar.tick()更新进度 您可以使用bar.tick()更新进度条,该进度条将进度精确增加1% 。
资源推荐
资源详情
资源评论
收起资源包目录
indicators-master.zip (71个子文件)
indicators-master
indicatorsConfig.cmake.in 195B
utils
amalgamate
CHANGES.md 432B
amalgamate.py 11KB
LICENSE.md 2KB
config.json 172B
README.md 2KB
indicators.pc.in 179B
LICENSE.termcolor 1KB
img
dynamic_progress_bar.gif 221KB
progress_spinner.gif 38KB
dynamic_progress_bar_hide_completed.gif 173KB
time_meter.gif 146KB
unicode.gif 7.2MB
progress_bar_set_progress.gif 14KB
block_progress_bar.gif 33KB
progress_bar_countdown.gif 502KB
progress_bar_tick.gif 41KB
block_progress_bar_iterable.gif 252KB
logo.png 7KB
indeterminate_progress_bar.gif 54KB
multi_progress.gif 185KB
demo.gif 424KB
.clang-format 3KB
demo
CMakeLists.txt 89B
Makefile 79B
demo.cpp 11KB
.gitignore 4B
CMakeLists.txt 4KB
CONTRIBUTING.md 314B
.travis.yml 1KB
LICENSE 1KB
clang-format.bash 169B
single_include.json 905B
samples
multi_progress_bar.cpp 4KB
indeterminate_progress_bar.cpp 1KB
progress_bar_tick.cpp 983B
progress_bar_sstream.cpp 814B
multi_block_progress_bar.cpp 2KB
progress_bar_set_progress.cpp 2KB
dynamic_postfix_text.cpp 1KB
CMakeLists.txt 2KB
multi_threaded_bar.cpp 2KB
progress_bar_countdown.cpp 922B
time_meter.cpp 1KB
dynamic_progress.cpp 5KB
block_progress_bar.cpp 690B
progress_bar_unicode.cpp 6KB
max_progress.cpp 671B
progress_spinner.cpp 1KB
block_progress_bar_iterable.cpp 1KB
README.md 29KB
single_include
indicators
indicators.hpp 100KB
.appveyor.yml 474B
conanfile.py 3KB
.gitignore 4KB
include
indicators
dynamic_progress.hpp 3KB
multi_progress.hpp 2KB
progress_spinner.hpp 10KB
progress_bar.hpp 14KB
indeterminate_progress_bar.hpp 10KB
progress_type.hpp 94B
cursor_movement.hpp 1KB
setting.hpp 9KB
color.hpp 128B
font_style.hpp 131B
cursor_control.hpp 680B
terminal_size.hpp 1000B
display_width.hpp 15KB
block_progress_bar.hpp 12KB
termcolor.hpp 18KB
details
stream_helper.hpp 5KB
共 71 条
- 1
资源评论
AaronGary
- 粉丝: 23
- 资源: 4577
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功