C++

Implementing the Collatz Conjecture Using C++

The Collatz Conjecture is a deceptively simple mathematical conjecture devised by Lothar Collatz in which he proposed that you could

Creating a Binary Search Algorithm with C++

As a part of the STL, C++ comes pre-packaged with a binary search function as a part of the “algorithm”

Creating the Sieve of Eratosthenes in C++

Mathematicians have been coming up with different ways of finding primes for thousands of years and one of the simplest

Creating a Typing Speed Calculator in C++

In this article we’ll be demonstrating how to calculate a user’s typing speed by having them transcribe a sentence picked

Creating a Word Counter in C++

Counting the amount of words in a string is one of the most basic programs that you can make in

Is it Okay to Implement Using Directives in C++?

In C++ using directives such as “using namespace std” are derided by most experienced programmers as dangerous and something to

Text to Morse Code Converter in C++

Morse Code is a method of transmitting text via a series of sounds or dots and dashes and is named

The FizzBuzz Challenge

FizzBuzz is a programming challenge for beginners based on a maths game children sometimes play in school. The idea is

Converting Text to Binary and Text to Hexadecimal in C++

Creating a C++ program that can translate text to binary and text to hexadecimal is a good way to understand