Squashed bug causing incorrect digits. Now fully working
I totally brainfarted and put this->preDigits.size() in the for loop comparison clause, which gets re-evaluated every loop. So it was leaving digits on the stack that should have been printed, causing errors both immediately and down the line.
This commit is contained in:
parent
aac5409a72
commit
218d5b7da8
5 changed files with 70 additions and 27 deletions
26
.gitignore
vendored
26
.gitignore
vendored
|
@ -1,3 +1,6 @@
|
|||
*.txt
|
||||
main
|
||||
.gdb_history
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/c++
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=c++
|
||||
|
||||
|
@ -37,3 +40,26 @@
|
|||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/c++
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/codeblocks
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=codeblocks
|
||||
|
||||
### CodeBlocks ###
|
||||
# specific to CodeBlocks IDE
|
||||
*.layout
|
||||
*.depend
|
||||
*.cbp
|
||||
# generated directories
|
||||
bin/
|
||||
obj/
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/codeblocks
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/kdevelop4
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=kdevelop4
|
||||
|
||||
### KDevelop4 ###
|
||||
*.kdev4
|
||||
.kdev4/
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/kdevelop4
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue