In the first part of this article, we saw the class templates that will handle our doubly linked list. Now, let’s see some examples on how to use them! In the complete ...
Read More »Tag Archives: struct
Doubly linked lists in C++ (Part II)
In the first part of this article, I made an introduction to the doubly linked lists and I talked about methods to insert nodes. Let’s now see methods for removing nodes. Removing ...
Read More »Doubly linked lists in C++ (Part I)
In a previous article – “Singly linked lists in C++ (Part I)” – I made an introduction to lists in C++ and singly linked lists. On this article, I’m going to talk ...
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 »