2017年9月20日
摘要: 1 // 获得系统版本.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include 6 7 #include //非MFC字符串对象 8 #include //MFC字符串对象 9 10 #include 11 12 using namespace std; 13 14 15 16 17 int... 阅读全文
posted @ 2017-09-20 21:16 czhang4 阅读(345) 评论(0) 推荐(0)
摘要: 1 // 是否存在摄像头.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include 6 7 #include 8 #pragma comment(lib,"Vfw32.lib") 9 10 #include 11 12 using namespace std; 13 14 15 BOOL IsCa... 阅读全文
posted @ 2017-09-20 21:03 czhang4 阅读(164) 评论(0) 推荐(0)
摘要: 1 // 获得cpu主频.cpp : 定义控制台应用程序的入口点。 2 // 3 4 #include "stdafx.h" 5 #include 6 #include 7 8 using namespace std; 9 10 DWORD CPUClockMHz(); 11 12 int main() 13 { 14 DWORD CPUMHz; 15... 阅读全文
posted @ 2017-09-20 20:54 czhang4 阅读(382) 评论(0) 推荐(0)