⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 showfuture.c

📁 C-C++源代码行数计算器SrcLines.zip
💻 C
字号:
/*  showfuture.c    For Free Chat    By Bill Kendrick  kendrick@zippy.sonoma.edu  http://zippy.sonoma.edu/kendrick/  October 3, 1996 - June 10, 1997*/#include <stdio.h>#include <stdlib.h>#include "cgi-util.h"#include "dump.h"int main(int argc, char * argv[]){  FILE * fi;  char str[2048], file[512];      cgiinit();  printf("Content-type: text/html\n\n");    getentry(file, "file");    fi = fopen(file, "r");  if (fi == NULL)    {      printf("Error");      exit(0);    }    dump("included/future-top.html");    readline(fi, str);  printf("<h1 align=center>%s</h1>\n", str);    readline(fi, str);  printf("<h3 align=center>%s</h3>\n", str);    printf("<hr>\n\n");    do    {      readline(fi, str);      if (!feof(fi))	printf("%s\n", str);    }  while (!feof(fi));  fclose(fi);    dump("included/future-bottom.html");}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -