ANYWEI : CODING

积累点滴,成就梦想

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

03 2012 档案

摘要:On some platforms GHC supports building Haskell code into shared libraries. Shared libraries are also sometimes known as dynamic libraries, in particular on Windows they are referred to as dynamic link libraries (DLLs).Shared libraries allow a single instance of some pre-compiled code to be shared b 阅读全文
posted @ 2012-03-30 15:33 anywei 阅读(204) 评论(0) 推荐(0)

摘要:可以用 localtime 函数分别获取年月日时分秒的数值。 Linux下获得系统时间的C语言的实现方法: 1. 可以用 localtime 函数分别获取年月日时分秒的数值。 #include<time.h> //C语言的头文件 #include<stdio.h> //C语言的I/O void main() { time_t now; //实例化time_t结构 struct tm *timenow; //实例化tm结构指针 time(&now); //time函数读取现在的时间(国际标准时间非北京时间),然后传值给now timenow = local... 阅读全文
posted @ 2012-03-09 20:21 anywei 阅读(2539) 评论(0) 推荐(2)