Running Swift Code on Windows: A Quick Guide for Beginners

Hi everyone  If you’re eager to learn Swift programming on your Windows machine, this guide is for you. Follow these steps to set up your system and run Swift code effortlessly. Step 1: Download Swift for Windows Visit the Swift for Windows website at https://swiftforwindows.github.io/ and download the Swift 4.1.3 compiler, which is the officially

Running Swift Code on Windows: A Quick Guide for Beginners Read More »

Stack

Hi everyone In this tutorial we will talk about Stack So, What is stack actually? Stack is a Last In First Out(LIFO) data structure. STL Stack also works the same way STL stack container’s underlying data structure deque (Double Ended Queue)   Header File Inclusion for stack #include <stack> Declaration #include <stack> stack <int> lifoList;

Stack Read More »

List

Hi Everyone In this tutorial we will talk about List. So, what is list actually? List is a doubly linked list container in C++ STL. List is a sequential container of STL. Since, its underlying data structure is doubly linked list, list has a dynamic property regarding memory allocation. Header File Inclusion for list #include

List Read More »

Vector

Hi Everyone ✋ In this tutorial we will talk about Vector. So, what is vector actually? Vector is a dynamic array container of C++ STL. Vector is a sequential container of STL. Array data structure is great for random access. But it has a fixed size array limitation. In a dynamic array, we don’t have

Vector Read More »

Standard Template Library

Hi Everyone ✋ In this tutorial series we will talk about C++ STL in depth. STL stands for Standard Template Library. STL has four components Containers Iterators Algorithms Function Objects     Containers Containers are actually pre implemented data structures provided by C++ to use. These containers help us to write code efficiently without worrying

Standard Template Library Read More »