Introduction
Dynamically Linked Library has 3 parts
- Header File - .h
- Library File - .lib
- Binary File - .dll
What is header file
Header file is a list of function that a library provides , it doesn't tell what the functions do it just declares them
example if you open sdl.h you would see something like
int SDL_Init(int flags);
This declares SDL_Init() function but it doesnt tell what it does
How to use
just at top of your code mention
#include <SDL2/SDL.h>
here SDL2 is directory where SDL.h is stored
 

 
    
Top comments (0)