Change .c to .cpp so VS2008 compiles it correctly