Posts by Lakshya Narain

Author Biographical Info: Not available

Get a Word from a Pointer in C++

By Lakshya Narain

In this tutorial, we will understand how to get a word from a pointer in C++. Given a string or a character, it is possible to return the whole word. Word is a string which is an a.... Read More

Find a specific word in a string in C++

By Lakshya Narain

In this tutorial, we will learn how to find a specific word in a string in C++. Previously, we had found occurrences of a specific word in a string in C++, the link to which is her.... Read More

Convert Decimal to Binary in C++

By Lakshya Narain

In this tutorial, we will learn how to convert a decimal number to binary in C++. Decimal number is a base 10 number as it ranges from 0 to 9. There are 10 total digit choices we c.... Read More

Right Shift Negative Numbers in C++

By Lakshya Narain

We are going to learn how to right shift negative numbers in C++. Right shift is denoted by the operator “>>“. Right shifting takes two operands (two numbers) and.... Read More

Upcasting and Downcasting in C++

By Lakshya Narain

In this tutorial, we will learn about upcasting and downcasting in C++. Upcasting and downcasting are an important part of C++ and enable the possibility of object-oriented program.... Read More

Data Encapsulation in C++

By Lakshya Narain

In this tutorial, we will explain what encapsulation is in C++ with the help of examples. C++ is an object-oriented programming language and has support for various properties, wit.... Read More

Check Internet Connection in C++

By Lakshya Narain

Welcome back! In this tutorial, we will learn how to check the status of the internet connection of your system in C++. Internet is a necessity in the modern world. We live in a wo.... Read More

Array Decay in C++

By Lakshya Narain

In this tutorial, we will learn about array decay in C++. Array decay occurs when there is a loss in the type or dimensions of an array. We call this as an array decay. This will o.... Read More

Related Posts