bhavesh2699 / Algorithms

Algorithms written in C++
MIT License
1 stars 4 forks source link

Can You please explain this library usage #1

Open Arjitc12 opened 4 years ago

Arjitc12 commented 4 years ago

https://github.com/bhavesh2699/Algorithms/blob/3f681bdea2c5b3b2e7269161077a50a47212e54c/Searching%20%26%20Sorting/Binary%20search.cpp#L3

bhavesh2699 commented 4 years ago

Hi,Arjit thanks for asking the question...actully #include<bits/stdc++.h> is library which contains set of all standard libraries.This is helpful when i don't know which libarary is to be included so I included one standard libarary which will include all libararies bydefault. It can be seen a lot in online coding contest where we want to save time of including different header files.