Have you decided on the order to include headers?

Asked 2 years ago, Updated 2 years ago, 29 views

System Files - STL - Like Boost Is there any order in which to include the files?

If there's anything decided, please let me know why.

c c++

2022-09-21 14:54

1 Answers

Some headers may run without errors only when certain headers are include first Other than this, There is no order of regulation or appointment.

Some developers set their own rules based on alphabetical order or range My standard is, "How to include is closest to code flow."

Include in order.


2022-09-21 14:54

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.