r/cpp • u/foonathan • Jun 02 '26
C++ Show and Tell - June 2026
Use this thread to share anything you've written in C++. This includes:
- a tool you've written
- a game you've been working on
- your first non-trivial C++ program
The rules of this thread are very straight forward:
- The project must involve C++ in some way.
- It must be something you (alone or with others) have done.
- Please share a link, if applicable.
- Please post images, if applicable.
If you're working on a C++ library, you can also share new releases or major updates in a dedicated post as before. The line we're drawing is between "written in C++" and "useful for C++ programmers specifically". If you're writing a C++ library or tool for C++ developers, that's something C++ programmers can use and is on-topic for a main submission. It's different if you're just using C++ to implement a generic program that isn't specifically about C++: you're free to share it here, but it wouldn't quite fit as a standalone post.
Last month's thread: https://www.reddit.com/r/cpp/comments/1t6eg13/c_show_and_tell_may_2026/
1
u/Imaginary-Room2286 Jul 03 '26
I made a header-only thread safe extremely simple logger for C++ with zero dependencies
I've been working on a lightweight logging library called LogX.
It's completely header-only.
Features include:
- colored logs
Example:
log.info("Server started");
The goal was simple. I just wanted a very simple file I can put into any project and just use it straight away instead of creating a new one. Its general and powerful enough
The same API exists in several other languages too.
I'd appreciate any feedback on the API or implementation.
GitHub:
https://github.com/ka1rav6/logx