Mastery 14

For Mastery 14, you must create use your own c++ libraries. Although this may seem complicated at first it is as easy as calling another function within a program. The onlly difference is that instead of calling a function within the same program, you create the functions in a seperate file (library) and call it simply by using a file header. 

Once entering the informationinto the seperate library you an name it anything but it must have a 

     .h

after the name. You can see this in my code below.

To call the library and include it in your program you must simply include a file header at the beginning of the code.

For example:

     #include “library.h”

or in my code below:

     #include “wsq8funcs.h”

CC BY 4.0 Mastery 14 by Asa Puls is licensed under a Creative Commons Attribution 4.0 International License.

Comments are closed.