源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

php调用c++的方法

  • 时间:2020-08-27 05:39 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:php调用c++的方法
1.在/var/www中建个测试文件夹 cpp 在此文件夹中新建c++文件sort.cpp,如下 [img]http://files.jb51.net/file_images/article/201401/201401302240185.png[/img] 编译并测试执行通过进行以下步骤。 2.在cpp文件夹下新建文件cpp.html,如下 [img]http://files.jb51.net/file_images/article/201401/201401302240186.png[/img] 3.同样在cpp下建php文件cpp.php,如下 [img]http://files.jb51.net/file_images/article/201401/201401302240187.png[/img] 保存。 4.程序执行如下 [img]http://files.jb51.net/file_images/article/201401/201401302240188.png[/img] 提交后: [img]http://files.jb51.net/file_images/article/201401/201401302240189.png[/img]
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部