Creating your own libraries is really usefull to include a lot with ease.
It is relatively easy to create your own libraries, you just create you file named “mylibrary.cpp” and “a.h”. Then compile the library without a main program; this will create a file called “a.o”. After that you can your program with a main program and call your library as you would with any onther (#include
PS.- I saw another post where it said that #define could also act as a library.
#TC1017 #Mastery14 by Juan Pablo Gonzalez Huezzo is licensed under a Creative Commons Attribution 4.0 International License.