正在加载图片...
235常用数学库函数 库函数 口C语言处理系统提供事先编好的函数,供用户在 编程时调用。 scant, printf,exp 口在相应的系统文件(头文件)中定义一些必需的 信息。 # nclude命令 口用户调用库函数时,将相应的头文件包含到源程 序中。 例如 口调用 scanf, printf,需要# include< stdio.h> 口调用sqrt,需要# nclude< math. h>2.3.5 常用数学库函数 ◼ 库函数 C语言处理系统提供事先编好的函数,供用户在 编程时调用。scanf(), printf(), exp() 在相应的系统文件(头文件)中定义一些必需的 信息。 ◼ #include命令 用户调用库函数时,将相应的头文件包含到源程 序中。 例如 调用scanf, printf,需要 #include <stdio.h> 调用sqrt,需要 #include <math.h>
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有