I have been seeing code like this usually in the start of header files:

#ifndef HEADERFILE_H
#define HEADERFILE_H

And at the end of the file is

#endif

What is the purpose of this?

4 s
4

Leave a Reply

Your email address will not be published. Required fields are marked *