tc 中的DATE获取

#include  < dos.h >  
#include 
< stdio.h >  

int  main( void

   
struct  date d; 

   getdate(
& d); 
   printf(
" The current year is: %d\n "
   d.da_year); 
   printf(
" The current day is: %d\n "
   d.da_day); 
   printf(
" The current month is: %d\n "
   d.da_mon); 
   
return   0
}

posted on 2006-12-31 19:57 snowhill 阅读(132) 评论(0)  编辑 收藏 引用 所属分类: 系统管理

<2025年4月>
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910

导航

公告

又一年...........

留言簿(3)

随笔分类(13)

文章分类(131)

文章档案(124)

c++

java

linux

oracle

常用软件

其他

网络配置

系统安全

音乐

搜索

最新评论

阅读排行榜