I\'d like to package a library I\'m working on as a header-only library to make it easier for clients to use. (It\'s small and there\'s really no reason to put it into a sep
Use header guards as Liz suggests and don't forget to put "inline" before your function methods.
ie
#ifndef MY_HEADER_H_ #define MY_HEADER_H_ inline RetType FunctionName( ParamType1 param1, ParamType2 param2 ) { // Function body return retType; } #endif