Nitya Raut has Published 271 Articles

Replace substring with another substring C++

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

Here we will see how to replace substring with another substring. It replaces the portion of the string that begins at character pos and spans len characters.The structure of the replace function is like below:string& replace (size_t pos,  size_t len,  const string& str,  size_t subpos,  size_t sublen);The parameters are pos: It is an insertion point, str : It ... Read More

How to use Line chart graph in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrate about How to use Line chart graph in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(module level) and add library dependency.apply plugin: 'com.android.application' android { ... Read More

How to create firebase account for android application?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

120 Views

This example demonstrate about How to create firebase account for android applicationRegister with firebase account using https://firebase.google.com/Click on Sign in button, it will ask gmail user name and pass word as shown below –Give proper user name and pass word. After successful login process, it will redirect to main page ... Read More

How to use Scatter chart graph in android?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

529 Views

This example demonstrate about How to use Scatter chart graph in android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Open build.gradle(module level) and add library dependency.apply plugin: 'com.android.application' android { ... Read More

C++ Program to Implement Stack

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

9K+ Views

In this program we will see how to implement stack using C++. A stack is an abstract data structure that contains a collection of elements. Stack implements the LIFO mechanism i.e. the element that is pushed at the end is popped out first. Some of the principle operations in the ... Read More

How to dismiss the dialog with click on outside of the dialog?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

2K+ Views

This example demonstrate about how to dismiss the dialog with click on outside of the dialogStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. ... Read More

Readability Index in Python(NLP)?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

1K+ Views

Natural language processing is the study of automated generation and understanding of natural human languages. This is becoming more and more interesting tasks to solve, as computer technology is integrated into almost every industry nowadays. We are going to study one specific field within natural language processing; readability. This involves ... Read More

How to dynamically remove items from ListView on a click?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

1K+ Views

This example demonstrate about How to dynamically remove items from ListView on a clickStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

C++ Program to Implement Graham Scan Algorithm to Find the Convex Hull

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

3K+ Views

Convex hull is the minimum closed area which can cover all given data points.Graham's Scan algorithm will find the corner points of the convex hull. In this algorithm, at first the lowest point is chosen. That point is the starting point of the convex hull. Remaining n-1 vertices are sorted ... Read More

How to handle right to left swipe gestures?

Nitya Raut

Nitya Raut

Updated on 30-Jul-2019 22:30:25

537 Views

This example demonstrate about How to handle right to left swipe gesturesStep 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     In the ... Read More

Advertisements