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!
or can I convert the header file to other format so It can't be access by anyone?
You can encrypt it. That'll stop people knowing what's there.
Perhaps you are confused by the difference between an include file and a library file? The include file need only contain the function prototype, which presumably you're going to be calling from some place else anyway.
Your challenge will however remain that people you're trying to protect against are likely more technically astute.