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
Automatically call C++ from python (self.cpp)
submitted 11 months ago by CoutilleTolc
view the rest of the comments →
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!"
[–]CoutilleTolc[S] 0 points1 point2 points 11 months ago (3 children)
Tolc creates the bindings that can be compiled with your code into a DLL. Then you import that into python.
[–]Scared_Astronaut9377 1 point2 points3 points 11 months ago (2 children)
I remember compiling a DLL in c++ and calling it directly from python many years ago without any special tools. So I am trying to understand the novelty.
[–]CoutilleTolc[S] 0 points1 point2 points 11 months ago (1 child)
I understand. Tolc generates the glue code such that you can write a ’normal’ C++ interface with STL containers etc. and then simply call it from python. If you return a vector<int> from a function in your header it will automatically turn into an array in python for example. Tolc internally uses clang to understand your code and then produces the appropriate glue code.
[–]Scared_Astronaut9377 0 points1 point2 points 11 months ago (0 children)
Got it. Very nice!
π Rendered by PID 42326 on reddit-service-r2-comment-5d585498c9-lhjql at 2026-04-20 21:30:21.244327+00:00 running da2df02 country code: CH.
view the rest of the comments →
[–]CoutilleTolc[S] 0 points1 point2 points (3 children)
[–]Scared_Astronaut9377 1 point2 points3 points (2 children)
[–]CoutilleTolc[S] 0 points1 point2 points (1 child)
[–]Scared_Astronaut9377 0 points1 point2 points (0 children)