After reading Hidden Features and Dark Corners of C++/STL on comp.lang.c++.moderated, I was completely surprised that it compiled and worked in both V
Continue ReadingC++: Box the Compass
Avast me hearties! There be many a land lubber that knows naught of the pirate ways and gives direction by degree! They know not how to box the com
Continue ReadingC++: Last Friday of Each Month
Write a program or a script that returns the last Fridays of each month of a given year. The year may be given through any simple input method in y
Continue ReadingC++ Full Course Lesson 5: Creating a Basic Calculator
https://www.youtube.com/watch?v=yjucJUsHSqg&list=PLAE85DE8440AA6B83&index=5
Continue ReadingC++: Munching Squares
Render a graphical pattern where each pixel is colored by the value of 'x xor y' from an arbitrary color table. #include <windows.h> #
Continue ReadingC++: Quicksort
#include <functional> #include <algorithm> #include <iterator> template< typename BidirectionalIterator, typename Compar
Continue ReadingC++: Copy a String
This task is about copying a string. Where it is relevant, distinguish between copying the contents of a string versus making an additional reference
Continue ReadingC++: Generate Lower Case ASCII Alphabet
Generate an array, list, lazy sequence, or even an indexable string of all the lower case ASCII characters, from 'a' to 'z'. If the standard librar
Continue ReadingC++: Hello World Web Server
The browser is the new GUI ! The task is to serve our standard text "Goodbye, World!" to http://localhost:8080/ so that it can be viewed with a we
Continue ReadingC++: Hofstadter Q Sequence
The Hofstadter Q sequence is defined as: It is defined like the Fibonacci sequence, but whereas the next term in the Fibonacci sequence is th
Continue Reading




