@scalzi Watch out. They will flood your server room.
An article exploring how to return the status from a function.
#cplusplus #CPP #cpp20
https://medium.com/one-stop-c-plus-plus/c-return-any-optional-or-variant-3c2222dbf787
C++ Conference in Toronto, July 17-19, 2023
Discussions: https://discu.eu/q/https://cppnorth.ca
No, you write an statement that reads in each item on the line.
int I;
string s;
cin >> I >> s;
An exploration of FizzBuzz using standard functions and the Ranges library, specifically views and pipelines.
https://medium.com/one-stop-c-plus-plus/c-23-ranges-good-bad-ugly-fizzbuzz-27b2cc06c919
CLang is making two assumptions. First, the while loop can be removed. Second, the return is never reached.
It shouldn't be doing both of them. Removing the while means the return can be reached.
Removing a return is just wrong under any circumstance.
C++ will warn about the signed / unsigned comparison.
I decided to tackle the Dutch Code problem in C++ and write about it.
Looking into learning more about functional programming, especially with #CPlusCplus. I have the Cukic and Bolboaca books. Just started reading the latter. Unfortunately, they are not in alignment with #Cpp 20 and obviously not with #Cpp 23.
I am interested in FP, but I haven't seen anything that seems current or not focused on other languages.
Please reply if interested and we'll see if there are enough to start a discussion.
(Is there a hashtag for FP? Creating a #CPlusCplusFP tag for discussions.)
After seeing your stories on Medium, I did some of the Advent of Code. Your use of functional programming led me to work with it more.
Currently working on an FP version of Day 7, the Linux-like command processing.
I wonder if a views::transform can take a vector in and output a std::set or std::map.
#education #books #programming #cpp #cpp20
Looks like "C++20 - The Complete Guide" by Nicolai M. Josuttis is finished (he allowed to buy it while being written).
I haven't bought this book yet, but I got his two books about #cpp17 and move semantics.
He's great educator, I can't recommend more! His videos are also very useful.
Bartłomiej Filipek is also great author if you want to refresh C++ knowledge.
@cowgirlcoder
Haven't heard about it but we don't live in Houston so probably not affected.
I am a retired software developer. Wrote my first FORTRAN IV in 1968. I am still writing C++. I have worked in embedded systems. I have done amateur robotics (non-destructive), including competing in NASA Centennial Challenges. The header image is from the Space Robotics Challenge.
Wrote for Hackaday.com for a few years about C++ with a focus on Arduino and Pi.
I am an Amateur Radio Operator, or Ham, licensed as K5RUD by the US FCC. That means I can build a transmitter without the FCC checking my build. Nobody but hams can do this.
Father of 2, although I lost my son in 2014. Grandfather of 3 (2m, 1f) and g-grandfather of 1 male.
I follow C++, legal, political, SF authors, and general random discussions.