I have installed php-5.3.10 in my fedora 15 system. I want to learn and work with php for my applications. I want wrapping c++ with php for that I have preffered link (http://devzone.zend.com/1435/wrapping-c ... extension/) that I founded by googling. I have read the document from the starting and try for understand it as per my knowlege level. I have uderstand entire procedure but the last step that mention in the document. I unable to understand that one the code as follow
// create a 5 gear car
$car = new Car(5);
print $car->getCurrentSpeed(); // prints '0'
$car->accelerate();
print $car->getCurrentSpeed(); // prints '5'
i want to ask that where should I will write this code in vehicles.cc file or .php file because i both the condition I got error. If some one is there who can tell me the proper working of that code.
Please help me to out of this....
Thanks and Regards,
Antrikssh.....



