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++ Programming Tutorial for Beginners in English – Part 1
https://www.youtube.com/watch?v=S3t-5UtvDN0
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++: Memory Layout of a Data Structure
It is often useful to control the memory layout of fields in a data structure to match an interface control definition, or to interface with hardware.
Continue ReadingC++: List Comprehensions
A list comprehension is a special syntax in some programming languages to describe lists. It is similar to the way mathematicians describe sets, with
Continue ReadingC++: Filter
Select certain elements from an Array into a new Array in a generic way. To demonstrate, select all even numbers from an Array. As an option, give
Continue ReadingC++: Black Scholes Call Option Rho
// Calculate the Black Scholes European call Rho double BS_Call_Option_Rho(double S, double K, double r, double v, double T) // Parameters: (S
Continue ReadingC++ Full Course Lesson 6: Variables Memory Concepts
https://www.youtube.com/watch?v=3Iq_uFbc4L4&index=6&list=PLAE85DE8440AA6B83
Continue ReadingC++: Nested Loops
Show a nested loop which searches a two-dimensional array filled with random numbers uniformly distributed over . The loops iterate rows and columns o
Continue ReadingC++: Loop Over Multiple Arrays Simultaneously
Loop over multiple arrays (or lists or tuples or whatever they're called in your language) and print the ith element of each. Use your language's "for
Continue Reading




