C++

Level Order Traversal in a Binary Tree — step-by-step Programming tutorial on Progressive Robot

Level Order Traversal in a Binary Tree

URL: https://www.progressiverobot.com/level-order-traversal-in-a-binary-tree/ Level Order Traversal is one of the methods for traversing across a Binary Tree. In this article, we shall look at how we can implement this algorithm in C/C++. But before that, let us have our concepts covered. Building the concepts A Binary Tree is a data structure where every node has at-most […]

Read more
Using the puts() function in C/C++ — step-by-step Programming tutorial on Progressive Robot

Using the puts() function in C/C++

URL: https://www.progressiverobot.com/puts-function-c-plus-plus/ Introduction Hello reader! Today in this tutorial we are going to discuss about the vastly used puts() function in for both C and C++ programming languages. Even though the printf() and cout functions in both C and C++ are prominent for printing variables, numbers, lines, etc. they ultimately lack behind while printing strings […]

Read more
How to Create a Random Number Generator in C++ — step-by-step Programming tutorial on Progressive Robot

How to Create a Random Number Generator in C++

URL: https://www.progressiverobot.com/random-number-generator-c-plus-plus/ In this article, we'll go over the functions needed to create a random number generator in C++. In the world of computers, random numbers form an essential component to add the flavor of anonymity and security. A random number generator forms the backbone of creating pseudo-random numbers. The idea behind pseudo-random numbers is […]

Read more
How to Return an Array in a C++ Function — step-by-step Programming tutorial on Progressive Robot

How to Return an Array in a C++ Function

URL: https://www.progressiverobot.com/return-array-in-c-plus-plus-function/ Introduction In this tutorial, we are going to understand how we can return an array from a function in C++. Methods to Return an Array in a C++ Function Typically, returning a whole array to a function call is not possible. We could only do it using [pointers](/community/tutorials/pointers-in-c-and-c-plus-plus). Moreover, declaring a function with […]

Read more
3 Ways to Compare Strings in C++ — step-by-step Programming tutorial on Progressive Robot

3 Ways to Compare Strings in C++

Introduction In this article, you will learn methods to compare strings in C++. Strings in C++ can be compared using one of the following techniques: String strcmp() function built-in compare() function C++ Relational Operators (==, !=) 1. Using the String strcmp() function in C++ C++ String has built-in functions for manipulating data of String type. […]

Read more
2D Vectors in C++ - A Practical Guide 2D Vectors — step-by-step Programming tutorial on Progressive Robot

2D Vectors in C++ – A Practical Guide 2D Vectors

Also referred to as vector of vectors, 2D vectors in C++ form the basis of creating matrices, tables, or any other structures, dynamically. Before arriving on the topic of 2D vectors in C++, it is advised to go through the tutorial of using single-dimensional [vectors in C++](/community/tutorials/vectors-in-c-plus-plus). Including the Vector header file It would be […]

Read more
Is C++ the Right Choice for Your Android App Development Strategy?

Is C++ the Right Choice for Your Android App Development Strategy?

When planning your Android App Development Strategy, one critical question arises: which programming language delivers the best performance? In 2025’s competitive mobile market, this decision could make or break your app’s success. With Android dominating 70.7% of the global OS market, choosing the right technology stack becomes even more crucial for reaching billions of potential users.

Read more
CHAT