Nitya Raut has Published 221 Articles

Function Decorators in Python?

Nitya Raut

Nitya Raut

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

792 Views

Python developers can extend and modify the behavior of a callable functions, methods or classes without permanently modifying the callable itself by using decorators. In short we can say they are callable objects which are used to modify functions or classes.Function decorators are functions which accepts function references as arguments ... Read More

How to disable action bar tittle in android?

Nitya Raut

Nitya Raut

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

276 Views

This example demonstrates How to disable 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 the above ... Read More

How to get programmatically android device name?

Nitya Raut

Nitya Raut

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

3K+ Views

This example demonstrate about How to get programmatically android device name.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 reverse order using Collections.reverse() in Android?

Nitya Raut

Nitya Raut

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

498 Views

This example demonstrates How to print list values in reverse order using Collections.reverse() 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 Count Variable Numbers of Arguments in C?

Nitya Raut

Nitya Raut

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

2K+ Views

In this section we will see how to count number of arguments in case of variable number of arguments in C.The C supports ellipsis. This is used to take variable number of arguments to a function. User can count the arguments by using one of the three different ways.By passing ... Read More

How to remove unused space for arraylist Listview in Android?

Nitya Raut

Nitya Raut

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

237 Views

This example demonstrates How to remove unused space for arraylist Listview 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

Reading images using Python?

Nitya Raut

Nitya Raut

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

8K+ Views

Image Processing Using OpenCVOpenCV(Open source computer vision) is an open source programming library basically developed for machine learning and computer vision. It provides common infrastructure to work on computer vision applications and to fasten the use of machine learning in commercial products.With more than 2.5 thousand optimized algorithms for both ... Read More

How to get current status bar elevation in android?

Nitya Raut

Nitya Raut

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

271 Views

This example demonstrates How to get current status bar elevation 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 the ... Read More

How to Parse Command Line Arguments in C++?

Nitya Raut

Nitya Raut

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

582 Views

It is possible to pass some values from the command line to your C++ programs when they are executed. These values are called command line arguments and many times they are important for your program especially when you want to control your program from outside instead of hard-coding those values ... Read More

Copy elision in C++

Nitya Raut

Nitya Raut

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

226 Views

The Copy Elision is also known as the Copy Omission. This is one of the compiler optimization technique. It avoids the unnecessary copying of objects. Almost any current compiler uses this Copy Elision technique.Let us see how it works by the help of one example code:Example Code#include using namespace ... Read More

Advertisements