Hi, I am looking at CINT to see if it can be useful for a system we are building. We need to execute 'scripts' from within our code, and we like those scripts to have C++ syntax. so I compiled CINT on my slackware box (I commented out "CINTSYSDIR=." in Makefile.Base to get it to compile, BTW), and now it runs perfectly, and I think it is very cool :) from what I have seen so far, the main use of CINT is as a standalone executable which runs some script -- interactively or not. but I need to execute the scripts from my own code, not from a standalone executable. so I need some api function (such as G__loadfile I guess?), that I can call to run an arbitrary script. (G__calc won't do as it is limited to expressions) I didn't figure out exactly how the system works. I would appreciate if someone could help to get me started with a hello world application: how can I get something like this: int main() { G__loadfile(argv[1]); //or whatever needed to run a given script } to compile with _my_ favorite compiler? (i.e. not with makecint) which includes would I need and how would my makefile look? thanks, Christoph
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:29 MET