Sunidhi Bansal has Published 1078 Articles

Ratio_greater_equal () function in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 07:02:51

108 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 ... Read More

Ratio_greater () function in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:59:03

60 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 ... Read More

Ratio_less () function in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:52:44

108 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 ... Read More

forward_list::reverse( ) in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:49:22

332 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 ... Read More

forward_list::swap( ) in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:47:19

209 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 ... Read More

forward_list::unique( ) in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:42:16

255 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 ... Read More

hypot( ), hypotf( ), hypotl( ) in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:30:08

258 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 ... Read More

real( ) function in c++

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:19:23

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( ... Read More

iswxdigit() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:15:21

123 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 ... Read More

iswupper() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 28-Feb-2020 06:13:17

129 Views

In this article we are going to discuss the iswupper() function in C++, its syntax, working and its return values.iswupper() function is an inbuilt function in C++ which is defined in header file. The function checks whether the passed wide character is in upper case(A-Z) or not.This function is a ... Read More

Advertisements