Nitya Raut has Published 272 Articles

lvalue and rvalue in C

Nitya Raut

Nitya Raut

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

8K+ Views

An lvalue (locator value) represents an object that occupies some identifiable location in memory (i.e. has an address).rvalues are defined by exclusion. Every expression is either an lvalue or an rvalue, so, an rvalue is an expression that does not represent an object occupying some identifiable location in memory.For example, ... Read More

How to use removeFirst() in android LinkedBlockingDeque?

Nitya Raut

Nitya Raut

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

59 Views

Before getting into an example, we should know what LinkedBlockingDeque is. It is implemented by Collection interface and the AbstractQueue class. It provides optional boundaries based on linked nodes. It going to pass memory size to a constructor and helps to provide memory wastage in android.This example demonstrates about How ... Read More

How to update continues ui from Intent Service in Android?

Nitya Raut

Nitya Raut

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

442 Views

Before getting into example, we should know what is Intent service in android. Intent Service is going to do back ground operation asynchronously. When user call startService() from activity , it doesn’t create instance for each request and it going to stop service after done some action in service class ... Read More

How to enable webview java script in android?

Nitya Raut

Nitya Raut

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

977 Views

This example demonstrate about How to enable webview java script 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

SQL using C/C++ and SQLite

Nitya Raut

Nitya Raut

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

2K+ Views

In this section, you will learn how to use SQLite in C/C++ programs.InstallationBefore you start using SQLite in our C/C++ programs, you need to make sure that you have SQLite library set up on the machine. You can check SQLite Installation chapter to understand the installation process.C/C++ Interface APIsFollowing are ... Read More

How to use removeLast() in android ConcurrentLinkedDeque?

Nitya Raut

Nitya Raut

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

53 Views

Before getting into the example, we should know what ConcurrentLinkedDeque is, it is unbounded deque based on linked nodes. Multiple threads can access deque elements with safety.This example demonstrates about How to use removeLast() in android ConcurrentLinkedDequeStep 1 − Create a new project in Android Studio, go to File ⇒ ... Read More

How to get current Bluetooth name in android?

Nitya Raut

Nitya Raut

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

841 Views

This example demonstrate about How to get current Bluetooth name 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 update the contents of a record of a table in a database using JDBC API?

Nitya Raut

Nitya Raut

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

147 Views

A. You can update/modify the existing contents of a record in a table using the UPDATE query. Using this you can update all the records of the table or specific records.SyntaxUPDATE table_name SET column1 = value1, column2 = value2...., columnN = valueN WHERE [condition];To update the contents of a record ... Read More

C++ Program to Implement List in STL

Nitya Raut

Nitya Raut

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

236 Views

A list is a sequence container that allow non-contiguous memory allocation. List has slow traversal as compared to vector, but once a position has been found, insertion and deletion are quick.Functions and descriptions:From main(), we have called following functions:    fl.resize() = Returns the resize of list.    fl.push_front() = ... Read More

cout << endl vs cout << “” in C++

Nitya Raut

Nitya Raut

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

897 Views

In this section we will see what are the differences between cout

Advertisements