views:

123

answers:

1

At present, I'm using a C-like language (NXC) to control a LEGO MINDSTORMS robot. That C-like language doesn't have support for generics (or, not being C++, classes. But I digress). However, I read in an outdated C++ book that either C or C++ has a file called generic.h, which contains helpful preprocessor macros (ie name2 and declare) for doing this.

Is there any way I can get a copy of this file?

+1  A: 

This may lead you to a couple of files: http://www.google.com/codesearch?hl=en&q=generic.h+name2+declare

Chris
Thanks. I wasn't really aware of google code.
Eric