Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4737206
  • 博文数量: 206
  • 博客积分: 5240
  • 博客等级: 大校
  • 技术积分: 3224
  • 用 户 组: 普通用户
  • 注册时间: 2010-08-12 21:40
文章分类

全部博文(206)

文章存档

2013年(13)

2012年(8)

2011年(33)

2010年(152)

我的朋友

分类: C/C++

2011-04-26 15:12:44

一.字符串函数

 函数名 功能  定义  所在头文件 
asctime 转换日期和时间为ASCII码 char *asctime(const struct tm *tblock); time.h
atexit 注册终止函数 int atexit(atexit_t func); stdlib.h
atof 把字符串转换成浮点数 double atof(const char *nptr); stdlib.h
atoi 把字符串转换成长整型数 int atoi(const char *nptr); stdlib.h
atol 把字符串转换成长整型数 long atol(const char *nptr); stdlib.h
       
       
       
       




二.文件函数

 函数名功能 定义 所在头文件 
access 确定文件的访问权限 int access(const char *filename, int amode); io.h 
    
    
    
    
    
    
    
    

三.数学函数

 函数名功能 定义 所在头文件 
abs求整数的绝对值int abs(int i); math.h 
asin反正弦函数double asin(double x);math.h
acos反余弦函数double acos(double x);math.h
atan反正切函数double atan(double x);math.h
atan2计算Y/X的反正切值double atan2(double y, double x);math.h
    
    
    
    

四.进程函数

 函数名功能 定义 所在头文件 
abort异常终止一个进程void abort(void); stdlib.h



assert测试一个条件并可能使程序终止void assert(int test);stdlib.h
assert.h
    
    
    
    
    
    

五.系统函数

 函数名功能 定义 所在头文件 
absread, abswirte 绝对磁盘扇区读、写数据int absread(int drive, int nsects, int sectno, void *buffer);
 int abswrite(int drive, int nsects, in tsectno, void *buffer);
 
 
    
    
    
    
    
    
    
    

六.内存函数

 函数名功能 定义 所在头文件 
allocmem分配DOS存储段int allocmem(unsigned size, unsigned *seg); 
    
    
    
    
    
    
    
    



七.画图函数

 函数名功能 定义 所在头文件 
arc画一弧线void far arc(int x, int y, int stangle, int endangle, int radius);graphics.h
    
    
    
    
    
    
    
   

八.

 函数名功能 定义 所在头文件 
    
    
    
    
    
    
    
    
    
阅读(1675) | 评论(0) | 转发(0) |
0

上一篇:debug 常用命令

下一篇:vc初级篇----1-1-1

给主人留下些什么吧!~~