if not defined c++

C++
#ifndef DATASPEC_INCLUDE_H
#define DATASPEC_INCLUDE_H

	//code

#endif
Source

Also in C++: