Cpp
From Liki
This article is for issues in using c++.
[edit] lapack atlas for c++
lapack-atlas is a math library for c and fortran, but by default it doesn't include header files for c++. To use it with c++ create the following files:
/usr/include/atlas/cpplapack.h:
extern "C" {
#include "clapack.h"
}
and
/usr/include/atlas/cppblas.h
extern "C" {
#include cblas.h
}
These headers till c++ that it's loading a c header and then can use the c libraries. The same trick should work for other c libraries as well.
[edit] Library References
Some useful sites:
- http://www.cppreference.com has the calling format of the library functions, but doesn't have as many examples.
- http://www.cplusplus.com/reference has a good number of examples and a tutorial.

