Archive

Archive for the ‘Programming’ Category

Point Class

August 1st, 2009

To download: 1bzr branch http://bazaar.enseed.com/demo/point/ This is a C++ point class (or vector if you prefer). Features were added as I needed them. I use it regularly so it’s got pretty much everything one needs. There is a general point class (see Point.h) and four specialized classes (Point1, Point2, Point3 and Point4). Once you have […]

Read more...
Categories: C++ Classes, Programming Tags:

Matrix Class

August 1st, 2009

To download (lightweight, no support for matrix inverse or determinant): 1bzr branch http://bazaar.enseed.com/demo/matrix/ To download (full version with matrix inverse and determinant): 1bzr branch http://bazaar.enseed.com/demo/matrix-with-inverse/ This is a c++ matrix class designed to minimize errors at runtime and allow the compiler to optimize as much as possible. The class uses three template arguments: The data type […]

Read more...
Categories: C++ Classes, Programming Tags:

Smart Makefile for C/C++/ObjC

August 1st, 2009

To download: 1bzr branch http://bazaar.enseed.com/demo/c-makefile/ This is a smart Makefile that I have written and used over the years. It will look in your current directory and compile any .c or .cpp that it finds. It also builds dependencies from your c and cpp files (headers used) and will recompile your source file if one […]

Read more...
Categories: C++ Classes, Programming Tags: