Hi everyone,
I want to know if there a method where I can lock the access to the header file. I have a header file which I dont want other user to alter or see it. The user can only call the function of the header file without see the content of the file. I just wanted to know how to lock the access to my header file.
Thanks!
So you're talking about providing a library/object file which is a compiled version of your source which can be linked against user application code.
So familiarize yourself with the creation of the library/object file as a stand-alone project.
Then familiarize yourself with how you can place that library/object into another project, along with a header/include file that describes the interface.
Pretty much a staple of the software development process.
... that you're so keen to hide it?
As already noted, if it's really valuable, then the kind of people who would steal it are going to be far more proficient in using the tools - so simple, standard techniques like just putting it in a library aren't going to defeat those guys...