David A Saenz

Latest Entries

Every time, I find myself deciding weather to use windows or mac for scientific programming. I always fall in the conclusion that either Mac or windows is fine, as long as I can get the job done with either of those. The only difference is that when I get really stressed about some of the...

In object oriented, as well as in procedural programming, data structures play an important role. These are used to hold large data blocks in an ordered way. C++ structures seem more less like classes. The only difference is that these cannot hold any method definitions or perform any function...

Modular programming refers to the splitting large programs into several files. These files contain the specification of classes and structures that together with the main file, they form the whole program. The main objective of this is to divide the work among several programmers and paralelyze...

In object oriented programming, classes are data structures that are able to perform, or do stuff with the information it holds. These classes can be structured so that it’s properties and behavior are available to other classes or only itself. These and other features of object oriented...

EXAMPLE: Calculator
Specification:
A calculator is a program that allows the user to perform simple arithmetic operations with the help of a computer.
When the program is run, it zeros the result. Then, it prompts the user for a specific operation and a number to be processed. After...

This post is dedicated to those people who are starting to learn how to program in C++. Here I cover the basic programming process, and how one can go about writing a short and decent C++ program.
Writing a computer program is like preparing a recipe. Ingredients are first prepared, then one...

An easy way to set up a working rappture development environment is to install it into Ubuntu operating system. The advantage of using this approach is the complete access to local machine software, such as MATLAB or othe software packages that have restrictions through the nanoHUB...