What are the best tricks you know about programming and can you share with us ?

What are the best tricks you know about programming and can you share with us ?

1 Like

Instead of using

#include

#include

#include

#include

#include

and many more, you can simply include the following header definition.

#include <bits/stdc++.h> in your code.
You can read more about the Linux GCC 4.8.0 /bits/stdc++.h header definition here.

//