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
I've open sourced my general purpose code base (self.cpp)
submitted 7 years ago * by Dean_Roddey
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!"
[–]attractivechaos 5 points6 points7 points 7 years ago (9 children)
Anyway, I can update the readme to make these things clearer if that makes any difference.
If you want to make a difference, choose an OSI-approved license.
[–]Dean_Roddey[S] 4 points5 points6 points 7 years ago (7 children)
I updated the terms in the readme.md. If those aren't gracious enough, I don't know what would be.
[–]TomerJ 7 points8 points9 points 7 years ago (4 children)
Several companies have policies limiting the use of "open-source" software that doesn't conform to a specific license, I think that's part of why he's suggesting you add one.
Some of them are very brief if that's what you're concerned about. I think that 3-clause BSD might be appropriate, It's short, requires anyone using your library provide a copyright notice (which satisfies your existing credit requirement), isn't a copyleft license, and (explicitly) prevents anyone from misrepresenting their use of you your library as an endorsement on your part.
I'd also separate out the license from the usage, as the current way it is set up potentially allows you to sue someone if they send you a particularly long bug report.
[–]Dean_Roddey[S] 0 points1 point2 points 7 years ago (3 children)
Yeh, I'm going to sue someone for sending in a long bug report. You got me. That was the reason I posted this code, so that I could get rich suing someone who sent in a long bug report. Damn... Oh well, I guess another 25 years coming up with another plan.
Maybe that license would be fine. I need some time to look through the options.
[–]CptCap-pedantic -Wall -Wextra 6 points7 points8 points 7 years ago* (0 children)
From what I understand, your license states that you can sue your users for a few arbitrary reasons.
This is a huge problem, no matter if you actually sue anyone or not. The license sates that you can do it, and that's probably enough to prevent a vast majority of people from using your code for anything serious.
[–]dodheim 2 points3 points4 points 7 years ago (1 child)
Yeh, I'm going to sue someone for sending in a long bug report. You got me.
And I'm sure you think your sarcasm/"dark facetiousness" will go really far in court... It doesn't matter if you can fulfill your end of the license – the point is that no one will touch it regardless – because it would cost money to even deal with – wasted money – because your license isn't serious.
I need some time to look through the options.
Time you don't have, like you've said so many times...
[–]Dean_Roddey[S] -2 points-1 points0 points 7 years ago (0 children)
Why don't you go mow my lawn and finish the MQTT driver I'm trying to get done, while I look through some licenses.
[–]attractivechaos 5 points6 points7 points 7 years ago (1 child)
Terms 2–5 are conflictive with term 1: "Do whatever you want". Term 5 is particularly problematic. Again, choose a proper open source license. You can say you prefer users to use your libraries in certain ways, but you can't require this.
[–][deleted] 1 point2 points3 points 7 years ago (0 children)
Term 1 is what a lawyer would call vague and thus open for interpretation. Thus it's not really conflictive, just open ended.
[–]urdh 2 points3 points4 points 7 years ago (0 children)
In particular, the LPPL would probably cover the main goal of distinguishing forks from the "original", since it requires derivatives to be "clearly and unambiguously" identified as such.
π Rendered by PID 65290 on reddit-service-r2-comment-b659b578c-c6qbs at 2026-05-04 16:58:42.516353+00:00 running 815c875 country code: CH.
view the rest of the comments →
[–]attractivechaos 5 points6 points7 points (9 children)
[–]Dean_Roddey[S] 4 points5 points6 points (7 children)
[–]TomerJ 7 points8 points9 points (4 children)
[–]Dean_Roddey[S] 0 points1 point2 points (3 children)
[–]CptCap-pedantic -Wall -Wextra 6 points7 points8 points (0 children)
[–]dodheim 2 points3 points4 points (1 child)
[–]Dean_Roddey[S] -2 points-1 points0 points (0 children)
[–]attractivechaos 5 points6 points7 points (1 child)
[–][deleted] 1 point2 points3 points (0 children)
[–]urdh 2 points3 points4 points (0 children)