海上月
QT_Creater工程文件介绍 QT_Creater工程文件介绍
Qt Creator工程管理Qt Creator以工程项目的方式对源码进行管理 一个Qt Craetor工程包含不同类型的文件 .pro项目描述文件+ .pro.user用户配置描述文件+ .h头文件+ .cpp源文件+ .ui界面描
2023-06-22 AllenMirac
Qt5_的类_QPoint,QPointF(相关的方法,不会的都在) Qt5_的类_QPoint,QPointF(相关的方法,不会的都在)
QPointQPoint官网链接 简介QPoint 类使用整数精度来定义平面中的一个点 包含的成员 我觉得你可能看不懂的成员使用的方法: 1、dotProduct(const QPoint &, const QPoint &am
2023-06-22 AllenMirac
python_字典中get()的使用 python_字典中get()的使用
当我们使用字典中不存在的键值时,会导致python显示Traceback,指出存在键值错误(KeyError),这时,可以使用方法get()在指定的键值不存在时,显示返回一个默认值,从而避免这样的错误。 a={ "j
2023-06-22 AllenMirac
Liskov_Substitution_principle(继承,里氏替换原则) Liskov_Substitution_principle(继承,里氏替换原则)
在面向对象的程序设计中,里氏替换原则(Liskov Substitution principle)是对子类型的特别定义。它由芭芭拉·利斯科夫(Barbara Liskov)在1987年在一次会议上名为“数据的抽象与层次”的演说中首先提
2023-06-22 AllenMirac
dbms_output.put_line的用法(Oracle) dbms_output.put_line的用法(Oracle)
dbms_output.put_line的用法涉及到的知识点如下:1、enable:在serveroutput on的情况下,用来使dbms_output生效(默认即打开) set serveroutput on --将output 服
2023-06-22 AllenMirac
C++_中数据类型大小(所占用字节数) C++_中数据类型大小(所占用字节数)
代码#include<iostream> using namespace std; #define str(type) #type #define sz(type) cout<< str(type) <<
2023-06-22 AllenMirac
C++_中explicit的作用及用法(虽然简单,但是还是有用的) C++_中explicit的作用及用法(虽然简单,但是还是有用的)
目录 C++explicit(官网的说法) explicit specifier C++explicit 清楚的说法(建议英文不好的从这里开始食用哦) explicit作用: explicit使用注意事项: C++explicit使
2023-06-22 AllenMirac
C++_std::array用法 C++_std::array用法
Array简介std::array is a container that encapsulates fixed size arrays. Defined in header [<array>](https://en.cpp
2023-06-22 AllenMirac
c++_allocator类 c++_allocator类
目录 std::allocator::allocate c++中的allocator类 概述 allocator用法 详解 allocate用于分配原始内存 Return value 在STL中也会用allocate类 std::al
2023-06-22 AllenMirac
计算机网络 计算机网络
目录 常用的协议: 概念 OSI 7层参考模型 TCP/IP参考模型:网网传应 常见面试题 1: TCP 建立连接为什么要三次握手而不是两次? 奈氏准则与香奈定理 编码与调制 数据链路层 帧定界: 差错检测:奇偶校验(计组)。 可
2023-06-20 AllenMirac
4 / 9