What is #inlcude ??? : POST - 7

 

What is #inlcude<bits/stdc++.h> ???

  • Basically to expand (x+2)^2 we have a basic formula from our school text book
  • Similarly to solve or to use many standard inbuilt functions  in c++  we use #include<iostream>, #include<stdio.h>, #include<math.h>  etc., at top of our program 
  • These #include<iostream>, #include<stdio.h>, #include<math.h>  etc., are called header files.
  • Hence these header files can be treated as a textbook for compiler 
  • for eg., printf() ,scanf() ,sort() ,pow() functions were stored in this header file ,so compiler can understand how these functions works
  • There are more than 10 header files in c++ each header file has it own libraries. 
  • It is difficult to remember each and every header file .
  • So in latest version of c++ we can replace all these header files with a single header file 
  • That one master header file is #include<bits/stdc++.h>


Feel free to ask  any doubts in comment box

Guys if you have any doubts, please let me know

Post a Comment (0)
Previous Post Next Post

How to start Coding | coding for beginners | Lecture 1