Package management with CMake’s CPM

I’ve used conan and vcpkg with varying levels of success. Recently, I came across CPM.cmake and it works quite well with the projects I have used it in. For getting CPM.cmake in your own CMake project, you have to download the CPM.cmake code: The above code will download the CMake module and after that, you … Read more

Connecting with C++

  Previously … We connected to our local JSON server using a console app, writen in Swift: Making a connection using Swift In this article, we are going to do the same thing, this time using C++. Libraries Swift comes with a large library of functionality, including classes to connect to a REST server. The … Read more

Code review time

Right now, I’m reviewing code I copied into my own code branch (p4) and I’m finding that I’m doing something I thought I’d never do. I’m actually lining up functions and parameters into columns. I have to admit, it’s much easier to read code this way then when code is all smushed together. Now, I … Read more

GoingNative 2012

Last week I was fortunate to attend the GoingNative 2012 seminar hosted at Microsoft’s Redmond campus. Bjarne Stroustrup, Herb Sutter, Andrei Alexandrescu, Stephan T. Lavavej, Chandler Carruth, Hans Boehm, and Andrew Sutton gave presentations at this seminar. If you don’t know who they are, you can easily look them up since they are all very … Read more

Hey, look what I found!

I found this site by accident, sporting the stylish Visual C++ 6 logo: http://www.bogotobogo.com/cplusplus/cpptut.php It is pretty funny to read the tutorial on multithreading, given how new it was back then to a lot of developers and today, it’s becoming the new norm: http://www.bogotobogo.com/cplusplus/multithreaded.php