Posts by Tags

C++

Simplifying Make

4 minute read

Published:

This is an attempt at simplifying make, I hope it can help anyone who struggling with the basics.

Debugging Segmentation Faults in C++

11 minute read

Published:

Segmentation faults in C++ are a sign that you are trying to do hard things. Congratulations! Now, let’s take a peek at how to start debugging.

Uninitialized variables in C++

5 minute read

Published:

C++ won’t always work the way you expect, and that is by design. It’s a remarkably rigid language and it requires that a programmer cross all of their f’s and dot all of their j’s.

Common Constructor Mistakes in C++

5 minute read

Published:

It is very common to have some difficulty when constructing custom classes in C++. Below I’ll discuss what tend to be the two most common problems I see with student submissions. The first is local scope vs instance variables. The second is a lack of default constructors.

Operator Overloading in C++

6 minute read

Published:

What follows is an example of an overloaded operator for a class named Foo.

Git

Git Primer

11 minute read

Published:

This primer introduces the basic commands and workflows in the Git™ Version Control System (VCS). For a more detailed look at the workings of Git, refer to the free resource hosted as part of the Git open-source project - git scm book.

Makefile

Simplifying Make

4 minute read

Published:

This is an attempt at simplifying make, I hope it can help anyone who struggling with the basics.

Static Linting

Basic Vim Setup

3 minute read

Published:

Vim is by no means the only code editing tool out there…it’s just the best one 😁. It is highly customizable, and if you choose it as your editor you will modify it over time to suit your needs. For beginners, a very simple setup can go a long way in helping to develop code.

VCS

Git Primer

11 minute read

Published:

This primer introduces the basic commands and workflows in the Git™ Version Control System (VCS). For a more detailed look at the workings of Git, refer to the free resource hosted as part of the Git open-source project - git scm book.

Vim

Basic Vim Setup

3 minute read

Published:

Vim is by no means the only code editing tool out there…it’s just the best one 😁. It is highly customizable, and if you choose it as your editor you will modify it over time to suit your needs. For beginners, a very simple setup can go a long way in helping to develop code.

command line interface

*nix Plumbing

3 minute read

Published:

Unix-based systems generally have a similar command line interface (CLI). This interface is challenging at first, but allows users to do powerful operations in a fraction of the time required to do the same task in a GUI. An additional benefit is that actions are more repeatable via the CLI. One useful thing to do is chain together multiple commands into one mega-command. This chaining is accomplished with the pipe key |. Since pipes are used to connect commands, this is colloquially referred to as “plumbing”.

constructors

Common Constructor Mistakes in C++

5 minute read

Published:

It is very common to have some difficulty when constructing custom classes in C++. Below I’ll discuss what tend to be the two most common problems I see with student submissions. The first is local scope vs instance variables. The second is a lack of default constructors.

core dump

Debugging Segmentation Faults in C++

11 minute read

Published:

Segmentation faults in C++ are a sign that you are trying to do hard things. Congratulations! Now, let’s take a peek at how to start debugging.

debugging

Debugging Segmentation Faults in C++

11 minute read

Published:

Segmentation faults in C++ are a sign that you are trying to do hard things. Congratulations! Now, let’s take a peek at how to start debugging.

friend keyword

Operator Overloading in C++

6 minute read

Published:

What follows is an example of an overloaded operator for a class named Foo.

gdb

Debugging Segmentation Faults in C++

11 minute read

Published:

Segmentation faults in C++ are a sign that you are trying to do hard things. Congratulations! Now, let’s take a peek at how to start debugging.

local vs class variables

Common Constructor Mistakes in C++

5 minute read

Published:

It is very common to have some difficulty when constructing custom classes in C++. Below I’ll discuss what tend to be the two most common problems I see with student submissions. The first is local scope vs instance variables. The second is a lack of default constructors.

make

Simplifying Make

4 minute read

Published:

This is an attempt at simplifying make, I hope it can help anyone who struggling with the basics.

operators

Operator Overloading in C++

6 minute read

Published:

What follows is an example of an overloaded operator for a class named Foo.

segmentation fault

Debugging Segmentation Faults in C++

11 minute read

Published:

Segmentation faults in C++ are a sign that you are trying to do hard things. Congratulations! Now, let’s take a peek at how to start debugging.

undefined behavior

Uninitialized variables in C++

5 minute read

Published:

C++ won’t always work the way you expect, and that is by design. It’s a remarkably rigid language and it requires that a programmer cross all of their f’s and dot all of their j’s.

unix

*nix Plumbing

3 minute read

Published:

Unix-based systems generally have a similar command line interface (CLI). This interface is challenging at first, but allows users to do powerful operations in a fraction of the time required to do the same task in a GUI. An additional benefit is that actions are more repeatable via the CLI. One useful thing to do is chain together multiple commands into one mega-command. This chaining is accomplished with the pipe key |. Since pipes are used to connect commands, this is colloquially referred to as “plumbing”.