Vrundesha Joshi has Published 289 Articles

Python Input Methods for Competitive Programming?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

In this we are going to see different ways of I/O methods for competitive programming in Python. In competitive programming it is important to read the input as fast as possible so as take advantage over others.Suppose you’re in a codeforces or similar online jude (like SPOJ) and you have ... Read More

How to use Android TEXT TO SPEAK from Singleton?

Vrundesha Joshi

Vrundesha Joshi

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

198 Views

Before getting into example, we should know what singleton design pattern is.  A singleton is a design pattern that restricts the instantiation of a class to only one instance. Notable uses include controlling concurrency, and creating a central point of access for an application to access its data store.This example ... Read More

Sending message through WhatsApp in android?

Vrundesha Joshi

Vrundesha Joshi

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

1K+ Views

This example demonstrate about sending message through WhatsApp in androidStep 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 above code, ... Read More

How to clear heap watch limit in android?

Vrundesha Joshi

Vrundesha Joshi

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

204 Views

This example demonstrates How to clear heap watch limit 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 − Add the following code to res/layout/activity_main.xml. In ... Read More

How to print list values in random order in Android?

Vrundesha Joshi

Vrundesha Joshi

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

473 Views

This example demonstrates How to print list values in random order 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 − Add the following code to res/layout/activity_main.xml.       ... Read More

How to get programmatically android device finger print information?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

This example demonstrate about How to get programmatically android device finger print information.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 − Add the following code to res/layout/activity_main.xml. ... Read More

How to use namespaces in C++?

Vrundesha Joshi

Vrundesha Joshi

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

212 Views

In this article we will see how to use the namespace in C++ code.Consider a situation, when we have two persons with the same name, Zara, in the same class. Whenever we need to differentiate them definitely we would have to use some additional information along with their name, like ... Read More

How to enable back button in action bar?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

This example demonstrates How to get action bar tittle 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 − Add the following code to res/layout/activity_main.xml. In ... Read More

Random number generation in C++

Vrundesha Joshi

Vrundesha Joshi

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

292 Views

Let us see how to generate random numbers using C++. Here we are generating a random number in range 0 to some value. (In this program the max value is 100).To perform this operation we are using the srand() function. This is in the C library. The function void srand(unsigned ... Read More

How to use MAX() in Android sqlite?

Vrundesha Joshi

Vrundesha Joshi

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

215 Views

Before getting into example, we should know what sqlite data base in android is. SQLite is an open source SQL database that stores data to a text file on a device. Android comes in with built in SQLite database implementation. SQLite supports all the relational database features. In order to ... Read More

Advertisements