摘要: CString 是在MFC中的头文件 非MFC加上afx.h头文件 直接上代码: // ConsoleApplication1.cpp : Defines the entry point for the console application. // #include "stdafx.h" #inc 阅读全文
posted @ 2020-05-27 18:25 梅长苏枫笑 阅读(912) 评论(0) 推荐(0) 编辑
摘要: 参考:https://www.cnblogs.com/lvchaoshun/p/7816288.html 1. 简介 assert宏的原型定义在<assert.h>中,其作用是如果它的条件返回错误,则终止程序执行。 原型定义: #include <assert.h>void assert( int 阅读全文
posted @ 2020-05-27 17:04 梅长苏枫笑 阅读(358) 评论(0) 推荐(0) 编辑
摘要: 参考: 1. http://blog.sina.com.cn/s/blog_b078a1cb0101fw48.html 2. https://www.cnblogs.com/Satu/p/8203936.html 函数原型: DWORD GetModuleFileName( HMODULE hMod 阅读全文
posted @ 2020-05-27 16:28 梅长苏枫笑 阅读(2572) 评论(0) 推荐(0) 编辑
摘要: 转载:https://blog.csdn.net/qq_22122811/article/details/52738029 //复习数组的时候,第一次见到了memset,学之。 memset:char型初始化函数 头文件:<string.h> 或 <memory.h> 函数原型:void *mems 阅读全文
posted @ 2020-05-27 16:09 梅长苏枫笑 阅读(721) 评论(0) 推荐(0) 编辑
摘要: 转载: 1. https://blog.csdn.net/u014738665/article/details/79779632 2. https://blog.csdn.net/jacke121/article/details/89417179?utm_medium=distribute.pc_r 阅读全文
posted @ 2020-05-27 11:32 梅长苏枫笑 阅读(601) 评论(0) 推荐(0) 编辑