I have a problem with including .h file
Here a screenshoot:
How do I include B.h file in C.c file?
I have a problem with including .h file
Here a screenshoot:
How do I include B.h file in C.c file?
Assuming libs is a directory for distinct libraries, specify it as an include directory and include the header like this:
#include "glad/a/b/B.h"
when I used #include "../a/b/B.h", it worked.
I would recommend against including files relative to the current file. Instead, always include relative to an include directory. Following this convention makes it easier to search all instances where a header is included within a project.
1: Include it relatively like:
#include "../a/b/B.h"
2: Adding additional include directories in the visual studio. (Project properties > C/C++ > General)