Nitya Raut has Published 272 Articles

What is the purpose of a function prototype in C/C++?

Nitya Raut

Nitya Raut

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

6K+ Views

Here we will see what are the purpose of using function prototypes in C or C++. The function prototypes are used to tell the compiler about the number of arguments and about the required datatypes of a function parameter, it also tells about the return type of the function. By ... Read More

Reading images using Python?

Nitya Raut

Nitya Raut

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

7K+ 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

Callback function in C

Nitya Raut

Nitya Raut

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

10K+ Views

The callback is basically any executable code that is passed as an argument to other code, that is expected to call back or execute the argument at a given time. We can define it in other words like this: If the reference of a function is passed to another function ... Read More

How to get current status bar elevation in android?

Nitya Raut

Nitya Raut

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

201 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

416 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

162 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

Implementing web scraping using lxml in Python?

Nitya Raut

Nitya Raut

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

482 Views

Web scraping not only excite the data science enthusiasts but to the students or a learner, who wants to dig deeper into websites. Python provides many webscraping libraries including, ScrapyUrllibBeautifulSoupSeleniumPython RequestsLXMLWe’ll discuss the lxml library of python to scrape data from a webpage, which is built on top of the ... Read More

How to sort Listview in Android?

Nitya Raut

Nitya Raut

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

1K+ Views

This example demonstrate about How to sort Listview in Android using collections.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 available wifi networks and display them in a list in android

Nitya Raut

Nitya Raut

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

3K+ Views

This example demonstrate about How to get available wifi networks and display them in a list 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 ... Read More

How to get programmatically android serial number?

Nitya Raut

Nitya Raut

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

4K+ Views

This example demonstrate about How to get programmatically android serial number.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

Advertisements