As the title says, I would like to know how to put header files in keil studio.
I want to use code that other people have created.
Hello,
Like in other systems.
If you have the file in your PC then just Drag & drop into project folder. Or create a new file with expected name and copy & paste the content inside.
Then just use
#include "myHeader.h"
anywhere you want.
BR, Jan
Is the easiest way to put the header file in the same file as main.cpp?
Sorry i do not understand, try to redefine the question.
BR, Jan
Using header files produced by others was a self-help solution.
However, I have not been able to solve the problem of how to create and use my own header files. Could you tell me where I can put my header files so that I can use them ?
It is very clear with pictures.
Thank you !