How does #include <bits/stdc++.h> work in C++? [duplicate]
问题 This question already has answers here : Why should I not #include <bits/stdc++.h>? (4 answers) Closed last year . I have read from a codeforces blog that if we add #include <bits/stdc++.h> in a C++ program then there is no need to include any other header files. How does #include <bits/stdc++.h> work and is it ok to use it instead of including individual header files? 回答1: It is basically a header file that also includes every standard library and STL include file. The only purpose I can see