1
edit
Changes
→Tips & Important Notes
* Add recompilation safeguards to all your header files.
* Always use forward declaration if possible instead of including a class header-file.
* Use includes only in files in which the actual header file code is used, i.e. if strlen function is used only in cpp file then only include "bconsole.h" in this file.
* '''Avoid "just in case" includes.'''
* Each class MUST have its own header file and cpp file for implementation.
* Use the class name for the name of the file but make sure it is all '''''lowercase'''''.
*: For example '''CFrame''' class should have '''cframe.h''' and '''cframe.cpp''' files for its implementation.