Vrundesha Joshi has Published 343 Articles

How do I add two numbers without using ++ or + or any other arithmetic operator in C/C++?

Vrundesha Joshi

Vrundesha Joshi

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

203 Views

In this article we will see how to add two numbers without using arithmetic operators like +, ++, -, or --.To solve this problem, we can solve them using binary adder logic. In that case we were designed half adder and full adder. These adders can add one bit binary ... Read More

What uses are there for “placement new” in C++?

Vrundesha Joshi

Vrundesha Joshi

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

132 Views

In this section we will see what is the placement new operator in C++. This placement new is another variation of new operator. The normal new operator performs two things. It allocates memory, and then constructs an object in allocated memory.The new operator allocates memory in the heap section and ... Read More

Passing Arrays to Function in C++

Vrundesha Joshi

Vrundesha Joshi

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

232 Views

C++ does not allow to pass an entire array as an argument to a function. However, you can pass a pointer to an array by specifying the array's name without an index.If you want to pass a single-dimension array as an argument in a function, you would have to declare ... Read More

How to pass large data between activities in Android?

Vrundesha Joshi

Vrundesha Joshi

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

801 Views

This example demonstrate about How to pass large data between activities 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.       ... Read More

How to android device is having low ram or high ram?

Vrundesha Joshi

Vrundesha Joshi

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

210 Views

This example demonstrate about How to android device is having low ram or high ram.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 save data using sqlite in android?

Vrundesha Joshi

Vrundesha Joshi

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

2K+ Views

Before getting into example, we should know what sqlite data base in android is. SQLite is an opensource 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 access ... Read More

How to support webview with multiple screens in android?

Vrundesha Joshi

Vrundesha Joshi

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

743 Views

This example demonstrate about How to support webview with multiple screens 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

Storage Classes in C program

Vrundesha Joshi

Vrundesha Joshi

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

144 Views

Variables and datatypes are discussed above. Now we will see how variables can be categorized by its scope and visibility.Scope: Generally, scope is a term which signifies the lifetime of a variable. How long it will work and when it will be destroyed.Visibility: Visibility shows from where the variable is ... Read More

How to get android application first installation date?

Vrundesha Joshi

Vrundesha Joshi

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

694 Views

This example demonstrate about How to get android application first installation date.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

Calculate geographic coordinates of places using google geocoding API in Python?

Vrundesha Joshi

Vrundesha Joshi

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

190 Views

To get the geographic coordinates of the place that is longitude and latitude of the place we can use google maps geocoding api.RequirementTo get the coordinates of a place, we required geocoding api & you can get it from below link:https://developers.google.com/maps/documentation/geocoding/get-api-keyApart from api_key, we are going to use pythonRequest module ... Read More

Advertisements