Re: PHP support C++?
| From: | Evan Nemerson | Date: | Mon, 08 Mar 2004 18:24:14 +0000 |
| Subject: | Re: PHP support C++? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179811@lists.php.net to get a copy of this message | ||
On Monday 08 March 2004 07:03 am, Kenneth wrote:
> Hi all,
>
> Does PHP support C++ language?
> If yes, how can it be converted?
you can write an extensions, which is actually rather easy to do. There's an
article at http://bugs.tutorbuddy.com/phpcpp/phpcpp/ that
claims to tell you
how to use c++ (rather than c), but I can't vouch it- never tried it.
>
> The case is, I've use C++ to make a function (to get data from file and
> convert it from char type to int type), how can i import the
> function/variables and use it in PHP?
Sounds like a really simple function. Why not just rewrite in in PHP?
>
> Thanks,
> Kenneth
--
Evan Nemerson
evan@coeus-group.com
http://coeusgroup.com/en