+ 3

Include all files

Is it generally a good practice to use <bits/stdc++.h>? Why, or why not?

24th Aug 2018, 8:42 AM
Moses Odhiambo
Moses Odhiambo - avatar
2 Respostas
+ 7
Since this header file is not included in the standard header files, some compilers will generate an error for it not existing. It makes the source you compile bigger as every header is included. It increases the compile time for that same reason.
24th Aug 2018, 9:50 AM
John Wells
John Wells - avatar
0
try to avoid it as loading all the libraries can be slow at times.
24th Aug 2018, 9:43 AM
hinanawi
hinanawi - avatar