GRASS and C++: Difference between revisions

From GRASS-Wiki
Jump to navigation Jump to search
mNo edit summary
Line 28: Line 28:
}
}
</source>
</source>
== See also ==
* [[GRASS and Python]]


[[Category:Development]]
[[Category:Development]]
[[Category:Linking to other languages]]
[[Category:Linking to other languages]]
[[Category:C++]]
[[Category:C++]]

Revision as of 20:54, 5 May 2012

(page to be expanded)

Calling GRASS library functionality in C++

For working examples, see:

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>
}

See also