https://www.youtube.com/watch?v=x1TsOHyJPpw
Continue ReadingC++: Flatten a List
Write a function to flatten the nesting in an arbitrary list of values. Your program should work on the equivalent of this list: [[1], 2, [[3,4], 5
Continue ReadingC++: Kaprekar Numbers
A positive integer is a Kaprekar number if: It is 1 The decimal representation of its square may be split once into two parts consisting of po
Continue ReadingC++: Foreach Loop
Loop through and print each element in a collection in order. Use your language's "for each" loop if it has one, otherwise iterate through the collect
Continue ReadingC++ Full Course Lesson 7: Basic Arithmetic
https://www.youtube.com/watch?v=L1z2dpCosXU&index=7&list=PLAE85DE8440AA6B83
Continue ReadingC++: Count in Factors
Write a program which counts up from 1, displaying each number as the multiplication of its prime factors. For the purpose of this task, 1 may be show
Continue ReadingC++: Date Format
Display the current date in the formats of "2007-11-10" and "Sunday, November 10, 2007". // Display the current date in the formats of "2007-11-1
Continue ReadingC++: Environment Variables
Show how to get one of your process's environment variables. The available variables vary by system; some of the common ones available on Unix include
Continue ReadingC++: Exceptions
This task is to give an example of an exception handling routine and to "throw" a new exception. C++ has no finally construct. Instead you can do t
Continue ReadingC++: Greyscale Bars
The task is to display a series of vertical greyscale bars (contrast bars) with a sufficient number of bars to span the entire width of the display.
Continue Reading




