I searched from internet. They said have 2 ways to create sub-function file,
first way is : using header file which is easier to write.
second way is: using cpp file which will increase the compilation time.
But my lecturer say using header file to write sub-function is a wrong method.
So which is the correct way?