Provide sample code to get started developing a geoprocessing function tool for ArcGIS Desktop in C++.
Something similar to the ArcObjects .NET "Calculate Area" geoprocessing tool provided in the SDK documentation (GPCustomCalculateAreaFunctionTool) would be ideal.