排序sort使用方法
/*//sort(需要排序的数组索引,结尾索引)如果 arr[4]sort(arr+1,arr+3)就是对前3个数排序*/include include include //sort库using namespace std;int main() {st...
阅读全文...
阅读全文...
PHP-判断加载url是否有参数传入
<!DOCTYPE html>
<html>
<body>
<?php
// 检查是否有名为 'test' 的参数,并输出其值
if (isset($_GET['test'])) {
echo "...
阅读全文...
阅读全文...
PHP-请求且返回响应
<!DOCTYPE html>
<html>
<body>
<?php
$html = file_get_contents("http:------------");
echo $html...
阅读全文...
阅读全文...
