The C++
Nugget Mine
Site Map Feedback
Programmer Font
 Wide Programmer Font
Up Algorithms MFC Graphics Style Testing

The intention is to provide simple, free access to usable solutions to common but difficult programming problems, presenting 'usage', rather than 'how' (no maths), 'who' (no name-dropping) or 'when' (no history).

The lumps of code on this site should be educational as well as stopping experts from having to re-invent the wheel all the time. The focus is on providing the lumps, usage and keeping everything simple. Developing code knowing that it'll be published on this site helps the developer keep code lumpy and clear. Keeping things simple (particularly debugging) by minimising the extents of the programming language results in only using templates where absolutely necessary and not using the Standard Template Library (STL) at all.

Feel free to use the Feedback link at the top of every page to report about bugs or ask for pages to be rephrased or extended. If you have other or better code and are willing to share, be aware that this site does no name-dropping: when you have a snack bar or get into a car, you don't get told who put the nuts in (the exception being methods that take the name of the award-winning inventor)!


THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.