@traducerad a c style api is one that is compatible with the c language. For example, win32. Crucially such an api prefers handles to objects, and and sets and gets state rather than returning classes. You will find that a c++ api has a lot of wacky problems like changing structure sizes across versioning (opaque pointer) or resources owned by different c++ runtime. Also coding style. Also languages like matlab, LabVIEW, python can auto import these libraries.
Why can I not initialize a static array of strings directly in the class? I thought this is possible with newer C++ but clang gives me: "static data member of type 'const std::__1::string [9]' must be initialized out of line"
Huh? To counter the earlier comments, GCC rejects in-class initialisation with "error: ISO C++ forbids in-class initialization of non-const static member", and clang does with "error: non-const static data member must be initialized out of line". Both regardless of -std=* options. Which standard supposedly allows this? — user743382 Feb 7 '15 at 12:29