tabulate is a header-only library. Just add include/ to your include_directories and you should be good to go. A single header file version is also available in single_include/. Although word-wrapping is automatic, there is a simple override. Automatic word-wrapping is used only if the cell contents do not have any embedded newline \n characters. So, you can embed newline characters in the cell contents and enforce the word-wrapping manually. tabulate allows for fine control over borders and corners. For each border and corner, you can set the text, color, and background color.

Features

  • Tabulate supports >=C++11
  • Create a Table object and call Table.add_rows to add rows to your table
  • Documentation available
  • Examples available
  • Use RowStream to format table data with stream insertion
  • You can access cells by indexing twice from a table
  • You could also use Table.print(stream) to print the table
  • Style Inheritance Model

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow tabulate

tabulate Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of tabulate!

Additional Project Details

Programming Language

C++

Related Categories

C++ Libraries

Registered

2024-05-21