 
 Data Structure Data Structure
 Networking Networking
 RDBMS RDBMS
 Operating System Operating System
 Java Java
 MS Excel MS Excel
 iOS iOS
 HTML HTML
 CSS CSS
 Android Android
 Python Python
 C Programming C Programming
 C++ C++
 C# C#
 MongoDB MongoDB
 MySQL MySQL
 Javascript Javascript
 PHP PHP
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Server Side Programming Articles - Page 1875 of 2650
 
 
			
			85 Views
Given is the task to show the working of ratio_less_equal () function in c++.The given function Ratio_less_equal checks if the value of ratio1 is less or equal than ratio2. It returns a Boolean constant “value” which returns true if ratio1 is less or equal than ratio2 else returns false.Syntaxtemplate ratio_less_equalParametersThis function accepts two template parameters one is ratio1 and another one is ratio2 which are to be compared.Explanation of this functionIn this function, if the value of ratio1 is less than or equal to the value of ratio2 then this function will return the Boolean value which is true i.e. ... Read More
 
 
			
			97 Views
Given is the task to show the working of ratio_greater_equal () function in C++.The given function Ratio_greater_equal checks if the value of ratio1 is greater or equal than ratio2. It returns a Boolean constant “value” which returns true if ratio1 is greater or equal than ratio2 else returns false.SyntaxTemplate ratio_greater_equalParametersThis function accepts two template parameters one is ratio1 and another one is ratio2 which are to be compared.Explanation of this functionIn this function, if the value of ratio1 is greater than or equal to the value of ratio2 then this function will return the Boolean value which is true ... Read More
 
 
			
			49 Views
Given is the task to show the working of ratio_greater () function in c++.The given function Ratio_greater checks if the value of ratio1 is greater than ratio2. It returns a Boolean constant “value” which returns true if ratio1 is greater than ratio2 else returns false.SyntaxTemplate ratio_greaterParametersThis function accepts two template parameters one is ratio1 and another one is ratio2 which are to be compared.Explanation of this functionIn this function, if the value of ratio1 is greater than the value of ratio2 then this function will return the Boolean value which is true i.e. integer digit 1 otherwise it will ... Read More
 
 
			
			96 Views
Given is the task to show the working of ratio_less () function in C++.The function ratio_less() checks if the value of ratio1 is less than ratio2. It returns a Boolean constant “value” which returns true if ratio1 is less than ratio2 else returns false.ExampleInput: 1/3 and 3/9 Output: 1/3 is less than 3/9. Input: 1/4 and 1/8 Output: 1/4 is not less than 1/8.SyntaxTemplate ratio_lessParametersThis function accepts two template parameters one is ratio1 and another one is ratio2 which are to be compared.ExplanationIn this function, if the value of ratio1 is less than the value of ratio2 then this ... Read More
 
 
			
			311 Views
Given is the task to show the working of forward_list::reverse( ) function in C++ STL.What is a Forward List?Forward list can be understood as a singly linked list where the tracking can be done only in forward direction but not in a backward direction whereas in the list we can track the elements in both the direction i.e. the element holds the two links one is for forward element and another one is for backward element. Forward lists are therefore fast because they have to hold only one link which will be of a forward element. Forward elements can be ... Read More
 
 
			
			195 Views
Given is the task to show the working of forward_list::swap( ) function in C++.What is a Forward List?Forward list is a sequence container that allow constant time insert and erase operations anywhere within the sequence. Forward list are implement as a singly-linked lists. The ordering is kept by the association to each element of a link to the next element in the sequence.What is forward_list::swap()?forward_list::swap( ) is a function in c++ standard library function which is used to swap the contents of one list to another list of same size and same data type.Syntaxforward_list1.swap(forward_list2)Orswap(forward_list first, forward_list second)ExampleOutput – First list ... Read More
 
 
			
			240 Views
Given is the task to show the working of forward_list::unique( ) function in C++.Forward list are sequence containers that allow constant time insert and erase operations anywhere within the sequence. Forward list are implement as a singly-linked lists. The ordering is kept by the association to each element of a link to the next element in the sequence.forward_list::unique( ) is a function in c++ standard library function which is used to remove the all duplicate elements from forward list. Notice that an element is only removed from the forward_list container if it compare equal to the element immediately it. Thus, ... Read More
 
 
			
			229 Views
In this article we will be discussing the working, syntax and examples of hypot( ), hypotf( ), hypotl( ) function in C++.hypot( ) functionThis function is used to compute the hypotenuse of a right angled triangle. This function returns the square root of sum of square of two variables. It is a function of header file.What is hypotenuse?Hypotenuse is the longest side of the right angle triangle. Below is the graphical representation of a hypotenuse in a right angle triangle.In above figure AC side of the triangle is a hypotenuse.The formula to calculate hypotenuse is −$$H = \sqrt{x^2+Y^2}$$SyntaxData type ... Read More
 
 
			
			2K+ Views
Given is the task to the working of real( ) function in C++.This function is used to find the real part of the complex number. This function return the real part of the complex number and sets the real part to value. And real returns the real component. The real( ) function is the function of header file.In complex number a+Bi , the Bi is a imaginary part and A is the Real part of the complex number.Return − It returns the real part of the specified complex number.SyntaxTemplate Y Real(constant complex& X);Parameters − The parameter X which represents ... Read More
 
 
			
			109 Views
In this article we are going to discuss the iswxdigit() function in C++, its syntax, working and its return values.iswxdigit() function is an inbuilt function in C++ which is defined in header file. The function checks whether the passed wide character is a hexadecimal character or not. The function checks the if argument passed is hexadecimal character then return a non-zero integer value(true), else return zero(false).A hexadecimal character is any character which is among the following −0 1 2 3 4 5 6 7 8 9 A B C D E FSyntaxint iswxdigit(wint_t ch);The function accepts only one parameter, i.e. ... Read More