Implementations of solutions of challenges included in (The Modern C++ challenge book) using modern C++ and built on Windows and Linux (WSL).
- A compiler that supports C++17
- CMake 3.11+
- Problem 1: Sum of naturals divisible by 3 and 5
- Problem 2: Greatest common divisor
- Problem 3: Least common multiple
- Problem 4: Largest prime smaller than given number
- Problem 5: Sexy prime pairs
- Problem 6: Abundant numbers
- Problem 7: Amicable numbers
- Problem 8: Armstrong numbers
- Problem 9: Prime factors of a number
- Problem 10: Gray code
- Problem 11: Converting numerical values to Roman
- Problem 12: Largest Collatz sequence
- Problem 13: Computing the value of Pi
- Problem 14: Validating ISBNs
- Problem 15: IPv4 data type
- Problem 16: Enumerating IPv4 addresses in a range
- Problem 17: Creating a 2D array with basic operations
- Problem 18: Minimum function with any number of arguments
- Problem 19: Adding a range of values to a container
- Problem 20: Container any, all, none
- Problem 22: Literals of various temperature scales
- Problem 23: Binary to string conversion
- Problem 24: String to binary conversion
- Problem 25: Capitalizing an article title
- Problem 26: Joining strings together separated by a delimiter
- Problem 27: Splitting a string into tokens with a list of possible delimiters
- Problem 28: Longest palindromic substring
- Problem 29: License plate validation
- Problem 30: Extracting URL parts
- Problem 31: Transforming dates in strings
- Problem 32: Pascal's triangle
- Problem 33: Tabular printing of a list of processes
- Problem 34: Removing empty lines from a text file
- Problem 35: Computing the size of a directory
- Problem 36: Deleting files older than a given date
- Problem 37: Finding files in a directory that match a regular expression
- Problem 39: Measuring function execution time
- Problem 40: Number of days between two dates
- Problem 41: Day of the week
- Problem 42: Day and week of the year
- Problem 43: Meeting time for multiple time zones
- Problem 44: Monthly calendar
- Problem 73: Serializing and deserializing data to/from XML
- Problem 74: Selecting data from XML using XPath
- Problem 75: Serializing data to JSON
- Problem 76: Deserializing data from JSON
- Problem 77: Printing a list of movies to a PDF