denissamilton / cppconsoletable Goto Github PK
View Code? Open in Web Editor NEWC++ Console Table: make text table in console easy and set up as you need
License: MIT License
C++ Console Table: make text table in console easy and set up as you need
License: MIT License
If some row will be multiline, and some another cell in this row not, data in this cell will be placed in top of the cell.
So there is should be possibility to align cells vertically, to place data in bottom or in center of the cell
Console table don't have a copy constructor (forgot:sweat_smile:)
Add cell properties for numeric data, to output, for example, double type with precision
When adding a char symbol to table it adds int value of this char
Add possibility to sort table by column or by rows.
Currently youre table can't be saved as modifiable object, so this is not convenient if program should be closed and then opened with previous state. If it is possible, I'm glad to see this feature in near future.
Current TableChar preset made only for CP866. New TableChars presets can provide easy using for users with other encoding without creating their own struct with working symbols
Now table allows me to set align text for all cells in constructor.
It will be pretty good having a possibility to align text in each cell or in all column.
The example from README prints this:
$ ./a.out
�����������������������������������������������ͻ
� Some String � false � � �
�����������������������������������������������
� � � � true �
�����������������������������������������������
� � 10 � 2.354000 � �
�����������������������������������������������
� � � � Some �
� � � � Multi String �
�����������������������������������������������ͼ
clang-11
FreeBSD 13
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.