Author Archive

Even if you haven’t had a chance to handle XML through one of your programs yet, chances are that there will be a time that you will need to. Well, maybe that time is now, since you’re reading this post. I have good news for you. Handling XML in Python is very easy. In this post, i will describe how you can create a very handy minimal xml writer class, that will help you create your xml files with ease.

Read the rest of this entry »

Comments No Comments »

This is a guest post

Today i will talk more deeply about Stacks in C++. In the previous tutorial we just declared some methods of this class, so now let’s see their content and in future tutorials we will use Stacks in an application in C++. Let’s start with a look at the template of the class Stack one more time.

Read the rest of this entry »

Comments No Comments »

C++ is rich because of its object oriented programming concepts. Inheritance is the ability to create a hierarchy of classes where a specific class inherits the properties of a generalized class. For example, if we consider Polygon to be a generic class, then shapes like Triangle and Rectangle can be regarded as specific classes. Surely, all the polygons have attributes like height and width, whereas the way to calculate area is different for different shapes. Read the rest of this entry »

Comments No Comments »

This is a guest post

This tutorial is a simple explanation of some data structures that we can use in C++. I pretend you understand first how each structure works before you look at some code. However, we can’t avoid using some code and I ended adding templates of some structures. This tutorial doesn’t contain all data structures but I’m sure the most important ones are here and this will be a big help in improving your skills in C++. Read the rest of this entry »

Comments No Comments »

This is a guest post

For those wishing to make a foray into the world of computer programming, C++ makes for one of the best entry level languages to learn. Nearly all American university courses in computing will teach their undergraduates how to program in C++, as it is very user friendly and allows for a more complete freedom of expression and ease of compilation. C++ is an object oriented version of C, one of the first widely used programming languages. Object oriented programming means that instead of telling the computer to work things out for itself, the user creates objects such as strings and arrays and uses the C++ language to manipulate them. For example, instead of writing a long piece of code to store a series of numbers and find the mean, C++ allows the programmer to create a string object, put all the numbers inside it and find the average; a much quicker way of programming.

Read the rest of this entry »

Comments 10 Comments »

For a couple of years, i have been using Subversion to manage my projects. I’ve heard about Git many times in the past and since it’s a Linus Torvalds creation, was pretty much interested in taking a closer look. Moreover, my interest in Ruby on Rails, has given me an extra kick towards that direction. You see, RoR uses Git by default, in order to manage your projects. Of course, you should not be surprised. You already know that Rails makes decisions for you and that is what gives it so much power. It saves you configuration time over conventions.

Read the rest of this entry »

Comments 4 Comments »