Tag Archives: Computer

A Tribut to C++ Homework

For my very first homework in C++ (about half a year ago) I was asked to write a program that computes the exponential function. Up till now I was never fully satisfied by my former solution. So here is the ultimate version. A little late, but anyhow.

WeiredExponent is a program that combines a maximum of system incompatibility and user frustration potential with a minimum of calculation speed and reliability. It is a little C++ program that computes the exponential function from a number passed to it as a command line argument. However, none of the calculation steps is actually preformed by C++ code. Instead, it forks children that use Java, Fortran, Pascal and Python to carry out small pieces of work. — Each in a very inefficient way. Nevertheless, the program gets the correct results and there is no code that isn’t used. (Such like a += 0;.)

To run it, you’ll need:

WeiredExponent is of course Free Software. This means, that if you open the window and — as loud as you can — shout out: “Hello world!” then you can freely use it for any purpose you want. It is not very recommended to use WeiredExponent in important exams or as dog food. The author of this software is not responsible for bad marks, neither he is for sick dogs.

Download the C++ source code


Recently I had the honor to write my first document using LaTeX. I never thought, that there could be a way to write a perfect document in no time requiring nothing but a text editor and a little command line tool.

If you’re slightly used to markup-languages like HTML or WikiText, you will get into TeX very soon as well. And I guess – even though it was my very first document and I had to look up several things on the Internet – I have been faster (and indeed happier) then I would have been when using a common Office application.

If you didn’t try it yet. It’s really worth giving it a chance!