?? showfuture.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 + -