Check out example codes for "if not defined c++". It will help you in understanding the concepts better.

Code Example 1

#ifndef DATASPEC_INCLUDE_H
#define DATASPEC_INCLUDE_H

	//code

#endif

Learn ReactJs, React Native from akashmittal.com