If you’re new to C++ you may have wondered why C++ has both classes and these weird things called structs. The difference between a class and a struct is that an instance of a struct is a variable, while an instance of a class is an object. You can think of a struct as just another data structure like an array. The only difference is that you are making the data structure yourself this time. Structs are generally used if you plan on keeping the instance variables within in it constant. Another important difference between structs and classes is…
If you are completely new to C++ you may have run into the seemingly odd data type called an enum or an enumeration. Most tutorials I have seen tend to gloss over enums as just a collection of constants, but they never really talk about their use cases. In this blog I want to give a quick overview of what enums are and how you could use them in your C++ programs.
What is an Enum?
An enum or enumerated type is a user defined data type that holds a set of constant values. We usually use the keyword…
If you are like me you may have recently taken an interest in the ever growing field of augmented reality. Whether you’ve played the hit game Pokemon GO, or used a Snapchat face filter you’ve likely encountered AR in some shape or form, and you may have wondered about how you can make something similar. With industry leaders such as Mark Zuckerburg claiming that AR is the future, it is an amazing time to start making AR apps. Most mobile phones now have the hardware to augment our reality, and we no longer need expensive headsets to bring technology…
If you’re brand new to web development with Python and Flask, you may be confused on how to debug your code in an IDEless environment. You may know Python, but you’re having trouble adjusting to the way errors are handled in both Flask and web development in general. When using Flask for the first time you may have even encountered this very unhelpful message when you’ve made a mistake:
Most developers who are studying Algorithms for the first time may hit their first algorithmic wall with Merge Sort. Merge Sort is different from the more elementary sorting algorithms in that it requires both a helper function, and a good understanding of recursion. So in this tutorial I am going to give you a line by line analysis so that you can get a good grasp of one of the most common and essential sorting algorithms. Note: If you want to copy the code to follow along it is at the bottom.
What are we trying to accomplish with…
If you’re a junior developer looking for a software development role chances are you may have come across the term “agile” in some of the skills and requirements. It seems like a lot of junior developers write this term off as not being a real skill to learn, but it is very important that you understand the basics of an agile methodology in order to fit well with that employer’s software development team. …
If you are new to Python you may have encountered something like this before
@im_a_decorator followed by a function. This is what Python and other languages call a decorator, and it is Python’s way of adding extra functionality to a function without overwriting the original function. In this quick tutorial I am going to give an example of how and when you can use decorators.
JSON.stringify(). Axios is a third party HTTP client that simplifies this process by pre-parsing your data object. In this blog, I’ll show you how to make both a GET and POST request with Axios so you can simplify your requests.
Have you ever found yourself creating the same report in excel over, and over, and over again? If so, you’re in luck because with a little bit of programming knowledge you can easily automate those nasty reports away. You may be thinking “I would love to do that Ryan! But alas, I am not a programmer.” Well the good news is that automating an excel sheet is much easier than you think. Of course it does require a little bit of Python knowledge, but it is well worth it to learn the basics of Python so that you can utilize…