hello.c

来自「JAVA分布式程序学习的课件(全英文)」· C语言 代码 · 共 16 行

C
16
字号
/**
 * This C program is for a CGI script which generates
 * the output for a web page.  When displayed by a
 * browser, the message "Hello there!" will be shown
 * in blue.
 */
#include <stdio.h>

main(int argc, char *argv[]) {

    printf("Content-type: text/html%c%c",10,10);
    printf("<font color = blue>");
    printf("<H1>Hello there!</H1>");
    printf("</font>");
}

⌨️ 快捷键说明

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