Home > 2015 > August

Monthly Archives: August 2015

Function templates in C++

In a previous article, I talked about a class template in C++. Now, I’m going to talk about function templates. A function template is very similar to a class template, allowing the ...

Read More »

Class template in C++

The template declaration is C++ allows us to define generic classes and functions. In the case of a class template, we can define classes where we have properties that can assume any ...

Read More »

Singly linked lists in C++ (Part III)

 In the first and second parts of this article, we saw the definition of singly linked lists, methods for inserting, removing and listing nodes and one example with a list with nodes ...

Read More »

Singly linked lists in C++ (Part II)

In the first part of this article, we saw the definition of singly linked lists and methods for inserting nodes. Now, let’s see methods for removing. Removing at the head In the ...

Read More »

Singly linked lists in C++ (Part I)

Linked lists are data structures that consist in a set of nodes linked each other. There are different types of linked lists, such as: Singly linked lists, doubly linked lists and circular ...

Read More »

Dynamic arrays with structs in C++

In previous posts (“Using pointers in C / C++” and “malloc and realloc functions in C / C++“) I talked about pointers and dynamic arrays in C/C++. On this article I’m going ...

Read More »

malloc and realloc functions in C / C++

In a previous post – “Using pointers in C / C++” – I made a brief introduction regarding pointers in C. Now, I’m going to talk about the malloc and realloc functions. ...

Read More »

Using pointers in C / C++

For some students, handling pointers in C / C++ is hard to understand. To start with, it’s always nice to remember that everything that happens in a computer, happens in its memory. ...

Read More »

How to use a datalist in HTML5

HTML5 brought several new interesting features. One of them is the datalist that I will address in this post. A datalist allow us to define a set of values that could be ...

Read More »

Escaping a shortcode in WordPress

Some people asked me how I managed to “escape” a shortcode in WordPress in the article I posted about the plugin “WM jqMath” – “How to use jqMath in WordPress“. So, I ...

Read More »