Show literal specification of characters and strings. If supported, show how verbatim strings (quotes where escape sequences are quoted literally) and
Continue ReadingC++: Multisplit
It is often necessary to split a string into pieces based on several different (potentially multi-character) separator strings, while still retaining
Continue ReadingC++: Compare a List of Strings
Given a list of arbitrarily many strings, show how to: test if they are all lexically equal test if every string is lexically less than the on
Continue ReadingC++: Execute a Markov Algorithm
Create an interpreter for a Markov Algorithm. Rules have the syntax: <ruleset> ::= ((<comment> | <rule>) <newline>+)* <c
Continue Reading