Tips and Tricks

  • 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.

Usage of Boost and STL in Scientific Programming

Tips and Tricks

I present a mathematic algorithm taken from our scientific programming environment. It demonstrates that by using concepts borrow from Boost and STL as well as new features of C++11, we can write clean code that is easy to maintain and to understand.

Basics of Container of pointers: Part I

Tips and Tricks

Containers of pointers are common and important. For example, if you want to implement reference semantics you need to store objects’ addresses in a container. Another good reason to create such containers and the most important one is polymorphism. In this blog I discuss some of the issues when working with pointer containers and give a brief introduction to boost container of pointer library.

Useful Tools When Testing And Prototyping

Tips and Tricks

Everyday programmers are faced with testing and quick prototyping. Boost::Assign library really shines in simple throwaway programs and test harnesses, where small, simple and easily modifiable code is the goal. I present some utility (examples) and show how it can make you more efficient in your everyday task.

Object-Oriented Numeric: A New Approach

Tips and Tricks

Developing numerical (scientific) software imposes two important demands on their implementation; those regarding flexibility and complexity. Another developing approach called Object-Oriented Numeric (OON) has been proposed. I discuss this new approach and give a short introduction about this new way of developing scientific software.

clients and partners

Autolog