上一页 1 2 3 4 5 6 7 8 ··· 23 下一页
摘要: 1 #include <iostream> 2 using namespace std; 3 4 int main() 5 { 6 int rats=101; 7 int &rodents=rats; //&为引用 8 cout<<"rats="<<rats; 9 cout<<",rodents"< 阅读全文
posted @ 2018-07-30 16:00 小雨滴答 阅读(121) 评论(0) 推荐(0) 编辑
摘要: 内联函数和常规函数一样,是按值来传递参数的,如果参数为表达式,则函数将传递表达式的值 宏不能按值传递,而是通过文本替换来实现的 阅读全文
posted @ 2018-07-30 14:41 小雨滴答 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 void CMyProjetDlg::OnPaint() 2 { 3 4 CPaintDC dc(this);//用于绘制设备的上下文 5 CRect rect; 6 GetClientRect(&rect); //获取对话框长宽 7 CDC dcBmp; //定义并创建一个内存设备环境 8 dcBm... 阅读全文
posted @ 2018-07-30 09:23 小雨滴答 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 尾数英文名叫mantissa,significand,coefficient,用于科学计数法中。科学计数法的表示方法为: Mantissa x Base^Exponent 举个例子,123.45用科学计数法可以表示为: 12345 x 10^(-2) 其中12345就是尾数Mantissa,10是基 阅读全文
posted @ 2018-07-25 13:52 小雨滴答 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: (%:表示格式说明的起始符号,不可缺少) %u 无符号十进制整数 unsigned int 4个字节 取值范围:0~4294967295 %d 有符号十进制整数 signed int / int (signed关键字常省略不写) 4个字节 取值范围:-2147483648~2147483647 %f 阅读全文
posted @ 2018-07-24 11:06 小雨滴答 阅读(339) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/yu12345678900/article/details/45442947 注册表百度百科 https://baike.baidu.com/item/%E6%B3%A8%E5%86%8C%E8%A1%A8/101856?fr=aladdin 阅读全文
posted @ 2018-07-16 16:23 小雨滴答 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 一、 LONG RegOpenKeyEx( HKEY hKey, // 需要打开的主键的名称 LPCTSTR lpSubKey, //需要打开的子键的名称 DWORD ulOptions, // 保留,设为0 REGSAM samDesired, // 安全访问标记,也就是权限 PHKEY phkR 阅读全文
posted @ 2018-07-16 09:37 小雨滴答 阅读(463) 评论(0) 推荐(0) 编辑
摘要: Run-Time Check Failure #3 - The variable 'p' is being used without being initialized. 运行时检查失败 变量p没有初始化就被使用 RTC(Run-Time Check)机制,包括堆栈帧(RTCS)、未初始化变量(RT 阅读全文
posted @ 2018-07-11 16:00 小雨滴答 阅读(2783) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/idorax/p/6441043.html 阅读全文
posted @ 2018-07-11 15:28 小雨滴答 阅读(192) 评论(0) 推荐(0) 编辑
摘要: GetModuleFileNameW( HMODULE hModule, //模块句柄 或应用程序的实例句柄 若参数为NULL,则返回该应用程序全路径 __out_ecount(nSize) LPWSTR lpFilename, //字符串缓冲区,容纳文件的用null字符中止的路径 DWORD nS 阅读全文
posted @ 2018-07-11 14:20 小雨滴答 阅读(907) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 23 下一页