We present a list of programing tips and tricks. With these tips users can increase their productivity on the computer programming and make their overall computer experience a lot more enjoyable. This section will grow over time as new entries are added and current entries updated. We will cover a wide range of topics in C++ programming applied to scientific programming. You are welcome to bring your own suggestions
This page is an on-going work in progress and will be updated periodically, stay tuned.

Example of STL Numeric Algorithm

We show by a simple usage of the numeric algorithm “accumulate” how STL can make code cleaner, short and can save you time and write better code. Fewer lines of code means less bugs, 90% of the time, simpler code runs faster and easier to maintain.

Boost and STL

For this first tips and tricks we present an example from our C++ environment “Elligno Virtual Physics Studio”.

Boost range library

Some basic tests with boost range library

Square Root computation

Make use of metaprogram to compute the square root.

C++ Scientific Programming

We present a piece of code taken from our programming environment.

Boost Range Test

Some test with the boost range library.