登录
首页 » c » C语言获取当前时间

C语言获取当前时间

于 2022-07-15 发布 文件大小:3.02 kB
0 102
下载积分: 2 下载次数: 1

代码说明:

C语言获取当前时间,涉及到tm结构体,时间值time_t,clock_t difftime(time_t time1, time_t time0)持续时间 localtime(const time_t * timer)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • qianrushi
    嵌入式系统体系结构及嵌入式处理器,以及使用,并介绍了嵌入式操作系统的开发 (Embedded systems architecture and embedded processor,and the use of,and introduced the development of embedded operating systems)
    2009-05-30 13:57:39下载
    积分:1
  • test
    在tx2 通过pcie接口采集数据,测试demo。(Acquisition of data through PCIe interface in TX2)
    2021-05-07 00:58:36下载
    积分:1
  • zigbee简单实验
    说明:  获取CC2530内部电压与温度,通过串口向pc机上面发送数据(Obtain CC2530 internal voltage and temperature)
    2020-10-28 21:29:57下载
    积分:1
  • 四路寻迹
    #include #define CAR_SPEED_MAX 10 //最大速度 sfr P4=0xe8; sbit PWM_R=P1^7; //PWM输出 sbit PWM_L=P1^2; sbit Moto_RA=P1^6; sbit Moto_RB=P1^5; sbit Moto_LA=P1^4; sbit Moto_LB=P1^3; //左右电机驱动 unsigned char Moto_Speed_R; //右轮速度 unsigned char Moto_Speed_L; //左轮速度  unsigned char Moto_Speed_Num; //PWM调速 sbit INF_R0=P4^3; //循迹 右侧内传感器 sbit INF_R1=P4^2; //循迹 右侧外传感器 sbit INF_L0=P4^1;   //循迹 左侧内传感器 sbit INF_L1=P4^0;   //循迹 左侧外传感器 unsigned char Car_Sta; //电机启动速度 /*********************************** *函数名称:void Delay(unsigned char num) *函数功能:延时 *参数说明:num 延时时间 数值最大255 *返回说明:无 *其它说明:不精准延时 ***********************************/ //void Delay(unsigned char num) //{ // unsi
    2023-04-27 18:20:04下载
    积分:1
  • W25Q256
    w25q256驱动代码,包括读写函数等等。(w25q256 Driver. w25q256 is a SPI Flash. Including write function and read function,etc.)
    2017-08-07 13:25:05下载
    积分:1
  • Stm32_OLED_1106-master
    说明:  利用千寻嵌入式SDK介入 获取RTCM信息(It uses the qianxun sdk to get the RTCM imformation so that the RTK system can output the more accrucy position information)
    2019-06-02 01:30:34下载
    积分:1
  • SiRF_Binary
    SiRF Binary Protocol Reference Manual Rev2.3-Dec07
    2010-07-31 23:32:29下载
    积分:1
  • IAP_AN
    说明:  stm32F1系列IAP串口升级程序,Ymodem协议,自动跳转APP。(STm32F1 Series IAP Serial Port Upgrade Program)
    2019-03-13 15:14:18下载
    积分:1
  • weibosdk-21410
    weibosdk-21410.zip,可以用来开发微博程序(weibosdk using it to program weibo )
    2013-02-24 16:05:16下载
    积分:1
  • chatsource
    实现网络聊天功能的软件源代码。实现网络聊天功能的软件源代码(Realize network chat software source code. Realize network chat software source code)
    2008-03-11 23:06:46下载
    积分:1
  • 696518资源总数
  • 105578会员总数
  • 20今日下载