I am starting a basic animation program using direct x. The functions of it, I want to put in another source file or header file to make the program as short as possible for readability purposes.
I don't know how to make a header.
Is it as simple as putting the functions in another source file?
Do I need to use the extern command in my code somewhere?