Posts by YANNAM SATYA AMRUTHA

Author Biographical Info: Not available

Color text output in Console in C++

By YANNAM SATYA AMRUTHA

In general, when we execute any program in C++ we observe that the output text is in white color on black background. But in C++, we can change the color of the text on the console.... Read More

Pop last element of a vector in C++

By YANNAM SATYA AMRUTHA

In this article, we will discuss how we can pop the last element of a vector and reduce its size by one. Before getting into the topic, let’s discuss what are vectors and the.... Read More

How to print a string to console in C++

By YANNAM SATYA AMRUTHA

In other languages like C programming, we use the printf function to print a string to the console. In this article, we will discuss how we can print a string to a console in C++. .... Read More

Kill a PID in C++

By YANNAM SATYA AMRUTHA

In this article, we are going to discuss how to kill a process using PID with a help of a C++ program. Each process is uniquely identified using a process id or PID which is repres.... Read More

How to iterate over characters of a string in C++

By YANNAM SATYA AMRUTHA

A string is a continuous sequence of characters. In order to perform some operations on the strings we iterate over the characters of a string. In this article, we are going to dis.... Read More

Shutdown and Restart a Computer using C++

By YANNAM SATYA AMRUTHA

In general, we can shut down and restart a computer by clicking the start menu or using shortcuts. We can also shut down and restart the computer using a simple code in C++. In thi.... Read More

C++ Array of list with Examples

By YANNAM SATYA AMRUTHA

In this article, we will discuss the array of lists and some examples in C++. Before going into the topic let’s first discuss what are arrays and lists in C++. Array and list.... Read More

Convert an int array to a string in C++

By YANNAM SATYA AMRUTHA

In this article, we will discuss some approaches to converting an integer array into a string in C++ along with some examples. Below are the multiple methods to do so: Using to_str.... Read More

Related Posts