You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added some methods in sorting and updated info of some headers
I added another method by which we can sort the array in desc order using the reverse iterator , added how to sort only a part of the vector, and also updated the info about some headers
//This will sort only part of the array from start_index to end_index
549
558
550
559
}
551
560
@@ -558,10 +567,10 @@ sort(v.begin(), v.end(), greater<int>()); // sorting in the vector in descending
558
567
|#include<string.h> | It is used to perform various string operations|
559
568
|#include<math.h> | It is used to perform mathematical operations|
560
569
|#include<iomanip.h> | It is used to access set() and setprecision()|
561
-
|#include<signal.h> | It is used to perform signal handling functions like sign|
570
+
|#include<signal.h> | It is used to perform signal handling functions like signal() and raise()|
562
571
|#include<stdarg.h> | It is used to perform standard argument functions|
563
572
|#include<errno.h> | It is used to perform error handling operations like errno|
564
573
|#include<fstream.h> | It is used to control the data to read from a file|
565
574
|#include<time.h> | It is used to perform functions related to date() and time|
566
575
|#include<graphics.h> | It is used include and facilitate graphical operations in program|
567
-
|#include<bits/stdc++.h> | It is used to include all the standard library files|
576
+
|#include<bits/stdc++.h> | It is used to include all the standard library files, this is called a NON-STANDARD header file (it can't be compiled on a compiler other than GCC)|
0 commit comments