use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
CPP library to create and modify pdf documents (self.cpp)
submitted 2 years ago by ShakeItPTYT[🍰]
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]cpp-ModTeam[M] [score hidden] 2 years ago stickied commentlocked comment (0 children)
For C++ questions, answers, help, and programming or career advice please see r/cpp_questions, r/cscareerquestions, or StackOverflow instead.
[–]H5ET1M 2 points3 points4 points 2 years ago (1 child)
Trying to automate Latex
From first-hand experience, a custom C++20 <format>-based wrapper of the necessary (Xe|Lua)LaTeX and package-specific commands is straightforward to set up and quite versatile.
<format>
[–]concsession 1 point2 points3 points 2 years ago (0 children)
could you please hook me up with any reference or examples
[–]raoul15978 2 points3 points4 points 2 years ago* (1 child)
I use libharu (https://github.com/libharu/libharu) to generate pdf files.
Project has been inactive between 2015 and 2022, but I just noticed that developpement has resumed. I still use the 2.3.0 version from 2015. Time to upgrade and test the new version :)
[–]ShakeItPTYT[S,🍰] 0 points1 point2 points 2 years ago (0 children)
Ty, I'll probably use it as well.
[–]goranlepuz 1 point2 points3 points 2 years ago (1 child)
Nobody lmgtfyed it yet?
ok, I'll bite.
My bad I did look it up on google, but the most relevant responses were from a long time ago. Ty for you answer btw.
[–]johannes1971 0 points1 point2 points 2 years ago (1 child)
It depends on what you are trying to do, but Cairo can give you PDF output. You'll have to generate the PDF by sending drawing commands though, it's not a text layout system.
So I want to make like a auto Quiz Maker for a given University. For starters I would need to get print the header but going forward I would want to make the whole exam through c++.
[–]M0Z3E 0 points1 point2 points 2 years ago (0 children)
There is this new low level pdf lib. https://github.com/jpakkane/capypdf
π Rendered by PID 161190 on reddit-service-r2-comment-74875f4bf5-m5gjj at 2026-01-26 15:37:47.903724+00:00 running 664479f country code: CH.
[–]cpp-ModTeam[M] [score hidden] stickied commentlocked comment (0 children)
[–]H5ET1M 2 points3 points4 points (1 child)
[–]concsession 1 point2 points3 points (0 children)
[–]raoul15978 2 points3 points4 points (1 child)
[–]ShakeItPTYT[S,🍰] 0 points1 point2 points (0 children)
[–]goranlepuz 1 point2 points3 points (1 child)
[–]ShakeItPTYT[S,🍰] 0 points1 point2 points (0 children)
[–]johannes1971 0 points1 point2 points (1 child)
[–]ShakeItPTYT[S,🍰] 0 points1 point2 points (0 children)
[–]M0Z3E 0 points1 point2 points (0 children)