- 博客(4)
- 资源 (1)
- 收藏
- 关注
原创 Windows系统下获取CPU的使用率
#include "stdafx.h"#include <windows.h>#include <time.h>#include <iostream>using std::endl;using std::cout;unsigned long long FileTimeSub(FILETIME ftEndTime, FILETIME ftSt...
2018-04-23 17:28:06
4433
1
原创 Linux系统下获取CPU的使用率
#include <stdio.h>#include <string.h>#include <unistd.h>typedef struct cpu_info{ char name[8]; unsigned long user; unsigned long nice; unsigned long system; unsigned long i...
2018-04-23 16:56:21
1650
转载 字符编码那点事
链接:https://www.zhihu.com/question/23374078/answer/69732605很久很久以前,有一群人,他们决定用8个可以开合的晶体管来组合成不同的状态,以表示世界上的万物。他们看到8个开关状态是好的,于是他们把这称为”字节“。再后来,他们又做了一些可以处理这些字节的机器,机器开动了,可以用字节来组合出很多状态,状态开始变来变去。他们看到这样是好的,于是它们就这...
2018-04-12 16:43:04
169
原创 第一次
#include <iostream>using std::endl;using std::cout;int main(){ cout << "Hello World." << endl; return 0;}
2018-03-29 17:35:12
200
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人