Peter Waller schrieb: > My current method is to write the code in a .h and include it, which I'm > pretty happy with, but I was wondering if there was a 'better way' (TM) Other developers might consider it as a dirty hack or bad style but it works. Header files shouldn't contain code. Why don't you use a C file for the C code?