摘要:
有些运算量比较大的工作在浏览器上无法直接完成就需要我们调用服务器上的程序,这样调用同时也是B/S和C/S的一种结合。php就提供了这样的功能。首先我们先来写一段最简单的C++的hello程序:1 #include <iostream>2 using namespace std;3 4 int main()5 {6 cout<<"Hello, findingsea!"<<endl;7 } 在debug文件下生成exe文件。编写php文件,代码如下:1 <html>2 <body>3 <?php4 system( 阅读全文
posted @ 2012-03-31 23:56
findingsea
阅读(7453)
评论(0)
推荐(0)