Hello experts,
I am a guy who want to using root in the industry. But we are using the C not C++, Can I find a ROOT version which is using C not C++?
Thanks,
Zhen
Hello experts,
I am a guy who want to using root in the industry. But we are using the C not C++, Can I find a ROOT version which is using C not C++?
Thanks,
Zhen
Hi @wztbxl ,
ROOT is based on C++ and provide a C++ interpreter: Cling. In principle it should also be able to interpret simple C code. Have you tried to interpret some of your C code examples using ROOT ?
I need to compile my code to generate an .exe file. So I would like to add the root library to my project, but I realize my project is using C99 standard. Can I directly add the root library to my project or I need to modify it?
Since ROOT is a C++ environment, I do not see how you could access its functionality from a C environment. For instance, you will need to instantiate classes at some point, and you cannot do that from C.