#post-19204 .tfe-editorial-context a {color:#0000ff !important;text-decoration:underline !important;}#post-19204 .tfe-editorial-context pre {max-width
Continue ReadingC++: Apply a Callback to an Array
#post-18832 .tfe-editorial-context a {color:#0000ff !important;text-decoration:underline !important;}#post-18832 .tfe-editorial-context pre {max-width
Continue ReadingC++: Create a Two-Dimensional Array at Runtime
#post-19206 .tfe-editorial-context a {color:#0000ff !important;text-decoration:underline !important;}#post-19206 .tfe-editorial-context pre {max-width
Continue ReadingC++: What are the differences between a pointer variable and a reference variable in C++?
I know references are syntactic sugar, so code is easier to read and write. But what are the differences? Summary from answers and links bel
Continue ReadingC++: Address of a Variable
#post-18695 .tfe-editorial-context a {color:#0000ff !important;text-decoration:underline !important;}#post-18695 .tfe-editorial-context pre {max-width
Continue ReadingC++: Split a string in C++
What’s the most elegant way to split a string in C++? The string can be assumed to be composed of words separated by whitespace. (Note that I’m
Continue ReadingC++: Create an Object at a Given Address
In systems programing it is sometimes required to place language objects at specific memory locations, like I/O registers, hardware interrupt vectors
Continue ReadingC++: Draw a Clock
Task: draw a clock. More specific: Draw a time keeping device. It can be a stopwatch, hourglass, sundial, a mouth counting "one thousand an
Continue ReadingC++: Constrained Random Points on a Circle
Generate 100 <x,y> coordinate pairs such that x and y are integers sampled from the uniform distribution with the condition that . Then display/
Continue ReadingC++: Flatten a List
#post-19538 .tfe-editorial-context a {color:#0000ff !important;text-decoration:underline !important;}#post-19538 .tfe-editorial-context pre {max-width
Continue Reading




