Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Use of all_of function in C++

all_of function is used to test condition on all the elements in a range[first,last), it will return true if the test condition is true for each and every element in the range or if the range is empty, else it will return false. Function Prot...

Priority queue in C++

Priority queue is container adapter, designed in such a way that the first element is the greatest elements among it contains. In priority queue elements are popped from the back which act as top in the priority queues. In the below program w...

Set in C++

Little introduction of Associative containers In the era of computing, Associative containers refer to a group of class templates in the standard library of the C++ programming language that implement ordered associative arrays.The following...

Stack in C++

The std::stack class is a container adapter that gives the programmer the functionality of a stack - specifically, a FILO (first-in, last-out) data structure. The class template acts as a wrapper to the underlying container - only a specific s...

Queue in C++

The std::queue class is a container adapter that gives the programmer the functionality of a queue. It is a FIFO (first-in, first-out) data structure. In queue elements are inserted at the back and can only be accessed from the front and the ba...

Vector in C++

Vectors are sequence container which represents Arrays and can change their size during run-time. Vectors use contiguous blocks of memory (as Arrays) for their elements. That means the elements of the sequence can be accessed using offsets on re...

How to get the filename only from the given path string in C#

Suppose we have a string with full path with filename and we want to extract only the filename from the given path, then we can use Path.GetFileName method to extract only the file name. Syntax: filename= Path.GetFileName(path); Where pat...

Difference between Do while and While loop in C#

The difference between While and Do Whileis : Whileloop checks the condition given with it first and if the condition is true then it enters inside the loop . That means the statements inside the loop is executed only if the condition is true....

C# code to add google captcha in your web site

Hi Reader ! From this blog we can learn how to add google captcha in your web site using c# . To use a Google Captcha(or reCaptcha) in your web application, you first have to follow below steps : 1) Open url https://www.google.com/recapt...

Function Templates in C++

Function Templates:-Templates are used to achieve the generic programming. By using function template the code will be independent to any data type. A template is used to create generic class or a function. By using function templates we have ...

Inline Function in C++

Inline Function:- The Inline function are those that can be expand at the time of compilation. inline function is a combination of macro & function. Either at the time of declaration or definition of function place the keyword inline before ...

Friend Function in C++

Friend Function:- Friend Function is Friendly to all the classes which can be declared as a friend of that class. "Friendship is given not taken" this statement means to say the friend is always declared by the class it self. when any class can u...

C++ Interview Questions and Answers Part 4

In the previous parts C++ Interview Questions and Answers Part 1, Part2 and Part 3, I have explained some basic questions of C++. This part is in continuation with the previous C++ Interview Questions and Answers tutorial. In this part of the tut...

C++ Interview Questions and Answers Part 3

In the previous part, C++ Interview Questions and Answers Part 1 and Part 2, we have explained some basic questions of C++. This part is in continuation with the previous C++ Interview Questions and Answers tutorial. In this part of the tutorial ...

C++ Interview Questions and Answers Part 2

In the previous part C++ Interview Questions and Answers Part 1 I have explained some basic questions of C++.This part is in continuation with the previous C++ Interview Questions and Answers tutorial. In this part of the tutorial we are proceed...

C++ Interview Questions and Answers Part 1

In this tutorial, We are providing you C++ questions and answers. The content here will help all the Freshers as well as experienced people to get through with their interviews for software industry on campus or off campus. For any person who wan...
prev 1 2 next
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: