C code can not directly reference a class/struct that uses any feature not in C, this includes things like namespaces, access specifiers, member functions, etc. You may be able to get some of these to compile with #ifdef __cplusplus conditionals.But I would like to know, if I have for example a small C++ library, within the classes are in a custom name space, how should I write my C wrapper to use those classes?Hi Richard,Thank you for your comment. You are totally right, but this was only a small example what I made after a long learning period :-)
Thank you and all the best,Kilato Somostetoi
-- Richard Damon