用宏博cms模板制作全文搜索
来源:百度知道 编辑:UC知道 时间:2024/05/28 06:07:31
目前宏博还不能使用全文搜索功能,你可以用GG搜索或者百度搜索来代替.
我正在着手解决这个问题,但还没成功!
#include<stdio.h>
#include<stdlib.h>
#include<time.h>
int main( void )
{
FILE * fp;
long i = 10000000L;
clock_t start, finish;
double duration;
printf( "Time to do %ld empty loops is ", i );
start = clock();
while( i-- )
finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
printf( "%f seconds\n", duration );
printf( "Time to do fopen is ");
start = clock();
fp = fopen("helloworld","a+") ;
if (fp == NULL) return;
fclose(fp);
finish = clock();
duration = (double)(finish - start) / CLOCKS_PER_SEC;
printf( "%f seconds\n", duration );
printf( "Time to do cat is &q