Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Bar Chart Race
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Edson Cassiano
Bar Chart Race
Commits
1e93c0e6
Commit
1e93c0e6
authored
4 years ago
by
Edson Cassiano
Browse files
Options
Downloads
Patches
Plain Diff
no arguments print
parent
7256677a
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
bcr
+0
-0
0 additions, 0 deletions
bcr
bin/bcr.o
+0
-0
0 additions, 0 deletions
bin/bcr.o
src/bcr.cpp
+7
-3
7 additions, 3 deletions
src/bcr.cpp
ttt.txt
+6
-1
6 additions, 1 deletion
ttt.txt
with
13 additions
and
4 deletions
bcr
+
0
−
0
View file @
1e93c0e6
No preview for this file type
This diff is collapsed.
Click to expand it.
bin/bcr.o
+
0
−
0
View file @
1e93c0e6
No preview for this file type
This diff is collapsed.
Click to expand it.
src/bcr.cpp
+
7
−
3
View file @
1e93c0e6
...
...
@@ -48,11 +48,14 @@ void AnimationManage::initialize(int argc, char *argv[]){
std
::
ifstream
file
;
std
::
cout
<<
"argc: "
<<
argc
<<
std
::
endl
;
if
(
argc
==
1
){
// Caso o user nao passe argumentos retornar erro
std
::
cout
<<
"Sem parametros validos"
<<
std
::
endl
;
std
::
cout
<<
"Usage: bcr [<options>] <input data_file>"
<<
std
::
endl
;
std
::
cout
<<
" Bar Chart Race options:"
<<
std
::
endl
;
std
::
cout
<<
" -b <num> Max # of bars in a single char."
<<
std
::
endl
;
std
::
cout
<<
" Valid range is[1,15]. Default values is 5."
<<
std
::
endl
;
std
::
cout
<<
" -f <num> Animation speed in fps (frames per second)."
<<
std
::
endl
;
std
::
cout
<<
" Valid range is[1,24]. Default values is 24."
<<
std
::
endl
;
}
else
if
(
argc
==
2
){
//Caso o user passe apenas o nome do arquivo: carregar valores padroes
...
...
@@ -135,6 +138,7 @@ void AnimationManage::initialize(int argc, char *argv[]){
std
::
cout
<<
"Comandos invalidos"
<<
std
::
endl
;
}
}
std
::
cout
<<
"teste
\n
"
;
}
void
AnimationManage
::
process
(
void
){
...
...
This diff is collapsed.
Click to expand it.
ttt.txt
+
6
−
1
View file @
1e93c0e6
...
...
@@ -38,4 +38,9 @@ Cada subgrupo tem o campo 0,1,2,3,4
0(Contagem)
1(Titulo da barra)
2(---)
3(Categoria)
\ No newline at end of file
3(Categoria)
No arquivo
Titulo do grafico
Legenda horizontal
Fonte
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment