自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 文件搜索+路径设置+文件属性

//【直接上可以运行的代码文件】//文件搜索+路径设置+文件属性.cpp#include<iostream.h>#include<time.h>#include<stdio.h>#include<direct.h>#include<dos.h>#include<io.h>#include<string.h>#inc

2018-02-23 00:02:22 315

原创 设置和获取当前工作路径

//【直接上可以运行的代码文件】//设置和获取当前工作路径.cpp #include <iostream>#include <windows.h>#include <string>using namespace std;int main(){ char buf[1000]; int i=1000; GetCurrentDirectory(1000,buf);  ...

2018-02-22 23:59:06 1621

原创 定时

//【直接上可以运行的代码文件】//定时.cpp//取时间0、GetLocalTime、GetSystemTime#include <afxcoll.h>//包含函数WinExec、Sleep,类型UINT#include <mmsystem.h>void main(){    char *weekDay[] ={"Sun", "Mon", "Tue", "Wed", &q

2018-02-22 23:56:16 196

原创 获取当前时间

//【直接上可以运行的代码文件】//获取当前时间.cpp//方案- time//优点:仅使用C标准库;缺点:只能精确到秒级#include < time.h>   #include < stdio.h>   int main( void )   {   time_t t = time( 0 );   char tmp[64];   strftime( tmp, sizeof...

2018-02-22 23:53:19 274

原创 定时器的时钟频率、CPU主频

//【直接上可以运行的代码】//定时器的时钟频率、CPU主频.cpp//#include <windows.h>#include <stdio.h>#include <afxcoll.h>//包含函数WinExec、Sleep,类型UINTinline unsigned __int64 GetCycleCount(void)//获得开机后CPU到现在的运行周期数...

2018-02-22 23:49:35 3512

consoleMultithread3.cpp

带精确CPU时钟频率定时器时间轴的多线程示例, 代码参考了以下博文 https://blog.csdn.net/weixin_39345003/article/details/90899556 https://blog.csdn.net/LL596214569/article/details/89163734 特此感谢感谢两位博主

2020-03-03

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除