C++ stack
In some sample code, you may see a reference to stack. This is a type of data structure, that according to cpp-reference : This is actually a wrapper for another container class. An example of it’s use is:
In some sample code, you may see a reference to stack. This is a type of data structure, that according to cpp-reference : This is actually a wrapper for another container class. An example of it’s use is:
There have been a few times that I needed 2 vectors to be … merged… and they had to be ordered. It’s simple when you have a plain old type, and are using the back_inserter to append the contents of each vector to the end of the merged vector, but what if you want to … Read more
How can I create a shared_ptr? How about a NULL shared_ptr? What if I already have a shared_ptr, that I own, and I want to null it out? Ok, ok. What if I want to null out my shared_ptr and at the same time, replace it with a new instance? How do I check if … Read more
Article Series, “Working with REST” This post is simply an index, to help navigate through the articles. Working with REST Making a connection using Swift 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
Previously Part 1, Working with REST In the previous article, we installed a local JSON server, to make testing the app we are about to create in this article, fast. In this article, we are going to create a console app, using Swift. In the following article, we will be doing the same process, using … Read more
An introduction on the server technology and how to connect your app to a web endpointIntroThis is the first article, in a series. By the end of the series, you should be able to connect your app, whether macOS, iOS, console, to a REST endpoint. There are a lot of articles on the internet that … Read more
In my mind, it is always a win to go to a C++ conference. There are still managers who are against sending developers to conferences, for their own reasons, many of which I disagree with. Not because I myself am a C++ developer, but because, as a community of developers, we do seek the opportunity … Read more
Or I should write, macOS and Android Studio not playing well with each other. I updated my installation of Android Studio to 3.4 and something unexpected happened almost every time I brought up the “Find action” menu (Command+Shift+A) where Terminal.app would pop up immediately after the “Find action” menu popped up. Turns out, this was … Read more
Earlier this year, I took the plunge and bought myself a WASD Code Keyboard, with Cherry MX Green buttons and 0.2mm sound dampeners… it’s oh soooo nice! (http://www.wasdkeyboards.com/index.php/products/code-keyboard/code-104-key-mechanical-keyboard-mx-green.html This keyboard was paired up to my 2017 MacBook Pro; I type a lot for a living and and mechanical keyboards work well for what I do. … Read more