RE: [PHP-DEV] Resume of my problem

2002-03-25 Thread mlwmohawk
I am assuming that he is making a very simple example for something much larger, written in C. > erm, it would make more sense to use php: > > > $c = 1 + 2; > > print ("Value C is $c"); > > ?> > > >> You need to make an extension. Look in the ext/ directory. Those are >> all PHP extensi

RE: [PHP-DEV] Resume of my problem

2002-03-24 Thread James Cox
erm, it would make more sense to use php: > You need to make an extension. Look in the ext/ directory. Those are all > PHP extensions. > > > HI, > > > > I have a functino write in c, like as: > > > > void addvalue ( int a, int b, int *c ) > > { > > *c = a + b; > > } > > > >

Re: [PHP-DEV] Resume of my problem

2002-03-24 Thread mlwmohawk
You need to make an extension. Look in the ext/ directory. Those are all PHP extensions. > HI, > > I have a functino write in c, like as: > > void addvalue ( int a, int b, int *c ) > { > *c = a + b; > } > >in php > > > phpinclude ("alexlib"); > addvalue ( 1, 2, c ); >

Re: [PHP-DEV] Resume of my problem

2002-03-24 Thread Zak Greant
On March 25, 2002 01:50, Alexandre Soares wrote: > HI, > > I have a functino write in c, like as: > > void addvalue ( int a, int b, int *c ) > { > *c = a + b; > } > >in php > > > phpinclude ("alexlib"); > addvalue ( 1, 2, c ); > print ( "Value c = $c "); > > ?> > > wh