Skip to content

A header-only C++ library for better table display in console.

Notifications You must be signed in to change notification settings

maxlzc/TablePrinter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TablePrinter

A header-only C++ library for better table display in console.

#Features supported: 1.Line number 2.Column header (Column width) 3.Table header 4.Support output to file.

Ex:

+-----------------------------------+  
|            Test Table             |  
+---+----+--------------------------+  
|   |col1|Col2's header is very long|  
+---+----+--------------------------+  
|  0|   3|                       4.6|  
+---+----+--------------------------+  
|  1|  hi|                         6|  
+-----------------------------------+ 

#Features to implement: 1.Fusioned rows and columns
2.Color support
Ex:

+---------------------------------------+
|                Results                |
+---------------------------------------+
|             |        Contestant       |
+ Competition +-------------------------+
|             |  John | Andrea | Robert |
+-------------+-------+--------+--------+
| Swimming    |  1:30 |   2:05 |   1:15 |
+-------------+-------+--------+--------+
| Running     | 15:30 |  14:10 |  15:45 |
+-------------+-------+--------+--------+

About

A header-only C++ library for better table display in console.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%