I have several libraries made by me (geometry, linked list library, etc.). I want to make a header file to include them all in one lib.h. Can I do something like this:
#ifndef LIB_H_ #define LIB_H_ #include <stdio.h> #include <stdlib.h> #include <linkedlist.h> #include <geometry.h> .... #endif
Then I could just reference this library and actually link to several libraries. Is it possible? If not, is there a way around it?
c
Mohit deshpande
source share