C++ Debugging Library that Can Print Vectors, Maps, Sets, Tuples, and All

Revision en1, by philip82148, 2024-10-03 14:04:21

Hi Codeforces! I've been programming as a hobby since I was 11 and have made various things.
I'm new to Codeforces, but I actually started CP since last year.
Since then, I've been working on a C++ debugging library that can print variables of almost any type, like vectors, maps, tuples, and more. In this blog, I want to share it with you.

Link to the Library

https://github.com/philip82148/cpp-dump

Feature Summary

Let's try it!

  1. Clone the repo(git clone https://github.com/philip82148/cpp-dump) or download it from Releases.
  2. Compile & run this code to test the library

Please see README.md for more detailed information on the installation method.

Recommended usage in competitive programming

https://github.com/philip82148/cpp-dump?tab=readme-ov-file#for-competitive-programming-use

News

v0.7.0 released on August 19 has lots of new features.
If you're using an older version, please update it! (For git users, run git pull)

Final Thoughts

I hope this library helps.
Also, upvoting this blog and giving a star to the repo would make me really happy.

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en9 English philip82148 2024-10-15 04:41:09 98 #ifndef ONLINE_JUDGE
en8 English philip82148 2024-10-06 08:12:50 123 Mention other installation methods
en7 English philip82148 2024-10-04 14:56:10 298 Using namespace std
en6 English philip82148 2024-10-04 03:49:35 1120 Move Simple Usage to 2nd pargraph
en5 English philip82148 2024-10-03 17:30:47 162 Add zip and tar.gz links
en4 English philip82148 2024-10-03 17:22:32 714 Added feature bullets and tiny changes
en3 English philip82148 2024-10-03 16:35:41 48
en2 English philip82148 2024-10-03 16:26:02 8045 Tiny change: '/cpp-dump/blob/main/read' -> '/cpp-dump/raw/main/read'
en1 English philip82148 2024-10-03 14:04:21 1872 Initial revision (published)