GRASS and C++

From GRASS-Wiki
Revision as of 19:53, 5 May 2012 by Neteler (talk | contribs) (+notes)
Jump to navigation Jump to search

(page to be expanded)

Calling GRASS library functionality in C++

For working examples, see:

Digitizer:

I/O:

Raster data processing

Image processing

Visualization:

Notes

When developing C++ code to call a C function you need to specified for the compiler that the gis.h include is C code with:

extern "C" 
{
#include <grass/gis.h>
}