摘要:RegOpenKey() capGetDriverDescription()// Test.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include <iostream>#include <windows.h>#include <Vfw.h> #pragm
阅读全文
摘要:GetTickCount(),这个函数,在此做下整理和总结。1.定义For Release configurations, this function returns the number of milliseconds since the device booted, excluding any
阅读全文
摘要:// SystemInfo.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include <iostream>#include <windows.h>#include <iomanip>using namespace std;int main(){ SYSTE
阅读全文
摘要:// 临界区.cpp : 定义控制台应用程序的入口点。// #include "stdafx.h"#include<windows.h>#include<iostream>using namespace std; DWORD g_cnt1;DWORD g_cnt2;BOOL g_bContinue
阅读全文
摘要:floor(x) is the largest integer not greater than x , 也就是,floor(x) 返回的是小于等于x的所有整数中最大的整数,简单的说,就是去掉x的小数部分的整数ceil(x) is the smallest integer not less than
阅读全文
摘要:注:本文内容来源于zhice163博文,感谢作者的整理。 1.为什么基类的析构函数是虚函数? 在实现多态时,当用基类操作派生类,在析构时防止只析构基类而不析构派生类的状况发生。 下面转自网络:源地址 http://blog.sina.com.cn/s/blog_7c773cc50100y9hz.ht
阅读全文