正在加载图片...
函数原型 下面的程序给出了典型的C程序结构,它是 Hel, world”程序的变型。 这个程序由三个文件组成: / File: hello.h */ char *helloo; / File: hello. c # include<sdoh>包括 sprintf()的原型* # include< stdlib. h>/包括malo(的原型*/ # include< string. h>/包括 strlen()的原型* # include" hello.h"/包括hell0)的原型*22 函数原型 ◼ 下面的程序给出了典型的C 程序结构,它是 “Hello, world”程序的变型。 ◼ 这个程序由三个文件组成: /* File: hello.h */ char *hello( ); /* File: hello.c */ # include <stdio.h> /*包括sprintf ( )的原型*/ # include <stdlib.h> /*包括malloc( )的原型*/ # include <string.h> /*包括strlen( )的原型*/ # include "hello.h" /*包括hello( )的原型*/
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有