Sunidhi Bansal has Published 1078 Articles

cosh() function for complex number working with C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:32:37

175 Views

Given the task is to show the working of cosh() function for complex numbers in C++.The cosh() function is a part of the C++ standard template library. It is a little different from the standard cosh() function. Instead of calculating the hyperbolic cosines of angles that are in radians, it ... Read More

Cos() function for complex number in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:28:27

281 Views

Given the task is to show the working of cos() function for complex numbers in C++.The cos() function is a part of the C++ standard template library. It is a little different from the standard cos() function. Instead of calculating the cosine of simple integral or rational numbers, it calculates ... Read More

Copysign() function in C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:27:50

130 Views

Given the task is to show the working of copysign() in C++.The copysign() function is a part of the C++ standard template library. It takes two arguments and produces the result by combining the magnitude of the first value and the sign of the second value. or header file ... Read More

list emplace() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:26:29

634 Views

Given is the task to show the working of list emplace() function in C++.The list::emplace() function is a part of the C++ standard template library. It is used to insert values inside a list at a specified position by the user. header file should be included to call this function.SyntaxList_Name.emplace(position, ... Read More

List assign() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:22:18

2K+ Views

Given is th e task to show the working of the assign() function in C++.The list::assign() function is a part of the C++ standard template library. It is used to assign the values to a list and also to copy values from one list to another. header file should be ... Read More

List crbegin() and crend() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:20:41

155 Views

Given is the task to show the working of list crbegin() and crend() functions in C++.The list::crbegin() and list::crend() functions are a part of the C++ standard template library. header file should be included to call these functions.list::crbegin()This function returns the constant iterator which points to the end element of ... Read More

list cbegin() and cend() functions in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:19:07

165 Views

Given is the task to show the working of list::cbegin() and list::cend functions in C++.The list::cbegin() and list::cend() functions are a part of the C++ standard template library. header file should be included to call these functions.list::cbegin()This function returns the constant iterator which points to the beginning element of the ... Read More

list back() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:15:40

275 Views

Given is the task to show the working of list back() function in c++.The list::back() function is a part of the C++ standard template library. It is used to display the last element of any list. header file should be included before calling this function.SyntaxList_Name.back();ParametersThe function does not accept any ... Read More

deque assign() function in C++ STL

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:14:55

325 Views

Given the task is to show the working of deque::assign() in C++ STL.Deque is a double ended queue. In C++, deque::assign() is an inbuilt function which is used to assign the new value to the deque container. Every time this function is called it assigns a new value to the ... Read More

strstr() function in C/C++

Sunidhi Bansal

Sunidhi Bansal

Updated on 20-Jan-2020 07:10:22

843 Views

strstr() function is a predefined function in “string.h” header file which is used for performing string handling. This function is used to find the first occurrence of a substring let’s say str2 in the main string let’s say str1.SyntaxSyntax of strstr() is as follows −char *strstr( char *str1, char *str2);Parameters ... Read More

Advertisements