Re: Embeding Cint

Valery Fine (fine@bnl.gov)
Sat, 11 Jul 1998 12:57:20 -0500


Dear Gunay ARSLAN
On 10 Jul 98 at 12:54, you wrote:

>
> Have Can I embed cint into a c program. What Acctually I am trying
> is to write a Cint module for the apache server. I like C/C++ and do
> not want to learn another languages just to write my CGI codes. I
> think cint is ideal for such purpose.
> for now I can just write a CGI program ,

That's a good idea but may be you may regard the embeding the whole
ROOT with its class library not just a CINT.

Anyway look up ProccessLine and ProceessFile methods:

http://root.cern.ch/root/html/src/TROOT.cxx.html#TROOT:ProcessLine

It will give you some ideas.

Hope this helps,
Try and let's us know about your result.

Valery
=================================================================
Dr. Valeri Faine (Fine)
------------------- Phone: +1 516 344 7806
Brookhaven National Laboratory FAX : +1 516 344 4206
Bldg. 510A /STAR mailto:fine@bnl.gov
Upton, New York, 11973-5000 http://nicewww.cern.ch/~fine
USA

Dr. Valery Fine Telex : 911621 dubna su
-----------
LCTA/Joint Inst.for Nuclear Res. Phone : +7 09621 6 40 80
141980 Dubna, Moscow region Fax : +7 09621 6 51 45
Russia mailto:fine@main1.jinr.dubna.su