Posts Tagged ‘c’

C Preprocessor

September 1, 2010

Here’s a place I found with good information on using the C Preprocessor to stringify.


http://www.decompile.com/cpp/faq/file_and_line_error_string.htm

Advertisements

Function pointer calling convention

June 26, 2009

I always forget the syntax for adding calling convention to a function pointer typedef. Here it is.

typedef int (__stdcall *MYFUNC) (int, int);