Mad Libs is a phrasal template word game where one player prompts another for a list of words to substitute for blanks in a story, usually with funny
Continue ReadingC++: Matrix Multiplication
Multiply two matrices together. They can be of any dimensions, so long as the number of columns of the first matrix is equal to the number of rows of
Continue ReadingC++: Execute Brain****
RCBF is a set of Brainf*** compilers and interpreters written for Rosetta Code in a variety of languages. Below are links to each of the versions o
Continue ReadingC++: Least Common Multiple
Compute the least common multiple of two integers. Given m and n, the least common multiple is the smallest positive integer that has both m and n
Continue ReadingC++: Modular Inverse
From Wikipedia: In modular arithmetic, the modular multiplicative inverse of an integer a modulo m is an integer x such that
Continue ReadingC++: 100 Doors Problem
Problem: You have 100 doors in a row that are all initially closed. You make 100 passes by the doors. The first time through, you visit every door and
Continue ReadingC++ Programming Tutorial for Beginners in English – Part 1
https://www.youtube.com/watch?v=S3t-5UtvDN0
Continue ReadingC++: Display Color Pinstripe
The task is to create 1 pixel wide colored vertical pinstripes with a sufficient number of pinstripes to span the entire width of the graphics display
Continue ReadingC++: Empty Directory
Starting with a path to some directory, determine whether the directory is empty. An empty directory contains no files nor subdirectories. With Uni
Continue ReadingC++: Execute a Markov Algorithm
Create an interpreter for a Markov Algorithm. Rules have the syntax: <ruleset> ::= ((<comment> | <rule>) <newline>+)* <c
Continue Reading




