Home > Technology > Computer Science > Programming (page 2)

Programming

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 »