上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页
摘要: 转载于:https://www.cnblogs.com/wangjian8888/p/7905176.html delete 和 delete []的真正区别 c++中对new申请的内存的释放方式有delete和delete[两种方式,到底这两者有什么区别呢? 1.我们通常从教科书上看到这样的说明: 阅读全文
posted @ 2020-05-28 11:54 梅长苏枫笑 阅读(635) 评论(0) 推荐(0) 编辑
摘要: 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) 编辑
摘要: 转载:https://product.pconline.com.cn/itbk/software/dnyw/1707/9672563.html 注册表 这个词不知道大家听说过没有,它在电脑的操作系统当中叫做登录档,它属于Microsoft Windows里面一个起着至关重要作用的一个数据库,主要是存 阅读全文
posted @ 2020-05-26 09:52 梅长苏枫笑 阅读(540) 评论(0) 推荐(0) 编辑
摘要: 转载: 1.选中DSN文件右键"Edit Object Properties "。在这里插入图片描述2.单击选择“Pivot”按钮。 3、找到Part reference和PCB Footprint查看整个原理图中每一个元件对应的位号。(https://img-blog.csdnimg.cn/201 阅读全文
posted @ 2020-05-18 18:08 梅长苏枫笑 阅读(1284) 评论(0) 推荐(0) 编辑
摘要: 转载:https://www.cnblogs.com/429512065qhq/p/8849151.html OrCAD创建原理图符号图 1. 首先创建一个库 2. 右键新创建的库,添加新的器件New Part 3. 修改器件属性 4. 添加引脚 添加完引脚之后如图,其中双击引脚,即可修改引脚名字和 阅读全文
posted @ 2020-05-18 18:05 梅长苏枫笑 阅读(414) 评论(0) 推荐(0) 编辑
摘要: 转载: 1.https://www.cnblogs.com/gtarcoder/p/4925592.html 比较实用 string和数值类型转换 c++11提供了to_string方法,可以方便的将各种数值类型转换为 字符串类型: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 阅读全文
posted @ 2020-05-13 14:53 梅长苏枫笑 阅读(429) 评论(0) 推荐(0) 编辑
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 42 下一页