<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[qq_41536360的博客]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/qq_41536360</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; qq_41536360]]></copyright><item><title><![CDATA[python安装docx模块报错Import Error: No module named ‘exceptions‘]]></title><link>https://blog.csdn.net/qq_41536360/article/details/109639389</link><guid>https://blog.csdn.net/qq_41536360/article/details/109639389</guid><author>qq_41536360</author><pubDate>Thu, 12 Nov 2020 11:01:02 +0800</pubDate><description><![CDATA[pip install docx不行
pip install python-docx 可以

]]></description><category></category></item><item><title><![CDATA[1.某金笔试c知识点总结]]></title><link>https://blog.csdn.net/qq_41536360/article/details/104826390</link><guid>https://blog.csdn.net/qq_41536360/article/details/104826390</guid><author>qq_41536360</author><pubDate>Thu, 12 Mar 2020 22:24:34 +0800</pubDate><description><![CDATA[1.先将整个主存划分成大小相同的存储块，将用户程序按程序的逻辑关系分为若干个段，并赋予每个段一个段名，再将每个段划分成若干个页，以页架为单位离散分配。

2.数据的独立性是数据库系统的最基本的特征之一 。数据独立性是指应用程序和数据结构之间相互独立, 互不影响。在三层模式体系结构中数据独立性是指数据库系统在某一层次模式上的改变不会使它的上一层模式也发生改变的能力。正是三级模式间的两层映像保证了数据...]]></description><category></category></item><item><title><![CDATA[2.sql刷题总结]]></title><link>https://blog.csdn.net/qq_41536360/article/details/104670958</link><guid>https://blog.csdn.net/qq_41536360/article/details/104670958</guid><author>qq_41536360</author><pubDate>Thu, 05 Mar 2020 11:53:07 +0800</pubDate><description><![CDATA[1.WHERE筛选含有某个关键字的内容，但WHERE 关键字无法与合计函数一起使用。此时使用HAVING。GROUP BY可以把数据整合到一起输出。

2.SQL注入（SQLi）是一种注入攻击，就是通过把SQL命令插入到Web表单递交或输入域名或页面请求的查询字符串，最终达到欺骗服务器执行恶意的SQL命令。

3.alter table 表名 alter column 字段名 set defaul...]]></description><category></category></item><item><title><![CDATA[1.hash刷题总结]]></title><link>https://blog.csdn.net/qq_41536360/article/details/104633844</link><guid>https://blog.csdn.net/qq_41536360/article/details/104633844</guid><author>qq_41536360</author><pubDate>Tue, 03 Mar 2020 19:24:24 +0800</pubDate><description><![CDATA[1.hash函数的求模运算用质数：如果key是均匀分布的，那么选择什么都可以，但是如果不是均匀分布的，比如选择模12，key为27，30，33，39，42，45会被映射到3，6，9，3，6，9，这样会增大冲突的概率。而如果选择11，则对应的映射为5，8，0，3，7，10。

2.哈希表的查找过程就是一个比较的过程。

3.哈希表的平均查找长度与哈希函数、冲突处理方法和装填因子有关，与哈希表长无关。...]]></description><category></category></item><item><title><![CDATA[anaconda安装时Failed to create Anaconda menus的问题]]></title><link>https://blog.csdn.net/qq_41536360/article/details/92760679</link><guid>https://blog.csdn.net/qq_41536360/article/details/92760679</guid><author>qq_41536360</author><pubDate>Tue, 18 Jun 2019 09:01:38 +0800</pubDate><description><![CDATA[解决方法：

1、删除环境变量path里的所有内容（注意备份，安装完再添加上）

2、安装anaconda

3、重新添加环境变量

4、完成~
]]></description><category></category></item><item><title><![CDATA[C++——Vector容器]]></title><link>https://blog.csdn.net/qq_41536360/article/details/90273287</link><guid>https://blog.csdn.net/qq_41536360/article/details/90273287</guid><author>qq_41536360</author><pubDate>Thu, 16 May 2019 22:12:20 +0800</pubDate><description><![CDATA[vector是将元素置于一个动态数组中加以管理的容器。

vector可以随机存取元素（支持索引值直接存取， 用[]操作符或at()方法）。

vector尾部添加或移除元素非常快速。但是在中部或头部插入元素或移除元素比较费时，因为vector在内存中是一块连续的内存空间，类似于线性表的形式，当在中间插入或删除时，其他元素需要移动。


vector采用模板类实现，vector对象的默认构造形式
...]]></description><category></category></item><item><title><![CDATA[C++字符串处理（字符串的大小写转换）]]></title><link>https://blog.csdn.net/qq_41536360/article/details/90272933</link><guid>https://blog.csdn.net/qq_41536360/article/details/90272933</guid><author>qq_41536360</author><pubDate>Thu, 16 May 2019 21:46:10 +0800</pubDate><description><![CDATA[string s2 = "AAAbbb";
transform(s2.begin(), s2.end(), s2.begin(), toupper);
cout &lt;&lt; s2 &lt;&lt; endl;

string s3 = "AAAbbb";
transform(s3.begin(), s3.end(), s3.begin(), tolower);
cout &lt;&lt; ...]]></description><category></category></item><item><title><![CDATA[C++字符串处理（二）]]></title><link>https://blog.csdn.net/qq_41536360/article/details/90182435</link><guid>https://blog.csdn.net/qq_41536360/article/details/90182435</guid><author>qq_41536360</author><pubDate>Wed, 15 May 2019 21:41:09 +0800</pubDate><description><![CDATA[字符指针和string的转换

1.string转换成char*：s1.c_str()//str()函数返回字符串的首地址。

2.字符串的拷贝：


string s1="aaavvv";

char buf1[128] ={0};//char buf[1024]={0}和char buf[1024]=""一样，因为'\0'字符的ASCII值为0，
s1.copy(buf1, 30, 0);  ...]]></description><category></category></item><item><title><![CDATA[c++字符串处理（一）]]></title><link>https://blog.csdn.net/qq_41536360/article/details/90147018</link><guid>https://blog.csdn.net/qq_41536360/article/details/90147018</guid><author>qq_41536360</author><pubDate>Sun, 12 May 2019 23:01:17 +0800</pubDate><description><![CDATA[字符串处处理：

c语言：用字符数组来模拟字符串

c++：有string类，该类里面封装了char *，好处：不用考虑内存的越界等问题。

string的初始化：

  


string s1="aaa";
string s2("bbb");
string s3=s2;//通过拷贝构造函数来初始化字符串。
string s4=(10,'a');//用10个字符a来初始化s4


stri...]]></description><category></category></item><item><title><![CDATA[C++容器算法迭代器（一）]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89977887</link><guid>https://blog.csdn.net/qq_41536360/article/details/89977887</guid><author>qq_41536360</author><pubDate>Wed, 08 May 2019 22:07:18 +0800</pubDate><description><![CDATA[容器用来管理一组元素，可以分为序列式容器和关联式容器。

序列式容器（Sequence containers）

每个元素都有固定位置－－取决于插入时机和地点，和元素值无关。

vector、deque、list

关联式容器（Associated containers）

元素位置取决于特定的排序准则，和插入顺序无关

set、multiset、map、multimap

容器部分主要由头文...]]></description><category></category></item><item><title><![CDATA[C++异常机制+DAY12（异常的层次结构）]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89683805</link><guid>https://blog.csdn.net/qq_41536360/article/details/89683805</guid><author>qq_41536360</author><pubDate>Mon, 29 Apr 2019 22:02:11 +0800</pubDate><description><![CDATA[#include &lt;iostream&gt;
using namespace std;

class MyArray
{
public:
	MyArray(int len);
	~MyArray();
public:
	int &amp; operator[](int index);
	int getLen();

	class eSize
	{
	public:
		eSize(int...]]></description><category></category></item><item><title><![CDATA[C++异常机制——DAY11]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89646823</link><guid>https://blog.csdn.net/qq_41536360/article/details/89646823</guid><author>qq_41536360</author><pubDate>Sun, 28 Apr 2019 22:01:31 +0800</pubDate><description><![CDATA[1.当抛出的是类的元素时


//如果接受异常的时候，使用一个异常变量，则copy构造异常变量，会调用拷贝构造函数。 
throw 类名();
catch (类名 e) //e可以写 也可以不写，不写的话就没法用e了
	{
		cout " 异常" &lt;&lt; endl;
	}

2.当抛出的是元素的引用时b


//使用引用的话 会使用throw时候的那个对象,不会执行拷贝构造函数。
th...]]></description><category></category></item><item><title><![CDATA[C++异常机制——DAY10]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89578217</link><guid>https://blog.csdn.net/qq_41536360/article/details/89578217</guid><author>qq_41536360</author><pubDate>Fri, 26 Apr 2019 23:21:04 +0800</pubDate><description><![CDATA[1.异常被抛出后，从进入try块起，到异常被抛掷前，这期间在栈上的构造的所有对象，都会被自动析构。析构的顺序与构造的顺序相反。这一过程称为栈的解旋(unwinding)。测试程序如下：



#include &lt;iostream&gt;
using namespace std;

class Test
{
public:
	Test(int a = 0, int b = 0)
	{
		th...]]></description><category></category></item><item><title><![CDATA[C++异常机制]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89527190</link><guid>https://blog.csdn.net/qq_41536360/article/details/89527190</guid><author>qq_41536360</author><pubDate>Thu, 25 Apr 2019 21:57:33 +0800</pubDate><description><![CDATA[1.



#include &lt;iostream&gt;
using namespace std;

//1 基本语法 
//2 发生异常之后,是跨函数 :
//3 接受异常以后 可以不处理 再抛出异常
//4 catch异常的时 按照类型进行catch

//5 异常捕捉严格按照类型匹配



一、
void main()
{
	try//抛出的是char型，而第一个catch是int型，...]]></description><category></category></item><item><title><![CDATA[数字图像处理——彩色图像]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89519302</link><guid>https://blog.csdn.net/qq_41536360/article/details/89519302</guid><author>qq_41536360</author><pubDate>Thu, 25 Apr 2019 16:47:05 +0800</pubDate><description><![CDATA[1.分别提取出一幅图片中的RGB三个部分的图像。如下：

原图：



效果图：






clear,clc,close all;
f=imread('color.jpg');
imshow(f);
r=f(:,:,1);g=f(:,:,2);b=f(:,:,3);%f为一个三维矩阵，这行代码相当于分别提取出三维向量中的每一维。
x=zeros(size(r))；新建一个大小跟r同样的二位矩...]]></description><category></category></item><item><title><![CDATA[c++函数模板和类模板——DAY8]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89408900</link><guid>https://blog.csdn.net/qq_41536360/article/details/89408900</guid><author>qq_41536360</author><pubDate>Fri, 19 Apr 2019 22:03:57 +0800</pubDate><description><![CDATA[C语言的强制类型转换(Type Cast)很简单，不管什么类型的转换统统是：

TYPE b = (TYPE)a 

C++的类型转换有如下四种：

　　　　1.static_cast 静态类型转换。如int转换成char。编译的时c++编译器会做类型检查；基本类型能转换 但是不能转换指针类型







     ...]]></description><category></category></item><item><title><![CDATA[C++函数模板和类模板——DAY7]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89162623</link><guid>https://blog.csdn.net/qq_41536360/article/details/89162623</guid><author>qq_41536360</author><pubDate>Tue, 09 Apr 2019 21:59:41 +0800</pubDate><description><![CDATA[1.类模板中的static关键字

当一个类模板中有static关键字定义的变量时，当初始化多种类型时，每种类型的类，都使用自己的变量，互不影响；但是相同类型的不同对象使用变量时会互相影响。（类模板的本质会产生相应类型的多个类）

2.综合运用：请设计一个数组模板类（MyVector），完成对int、char、Teacher类型元素的管理。


#include &lt;iostream&gt;
...]]></description><category></category></item><item><title><![CDATA[C++函数模板和类模板——DAY6]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89110973</link><guid>https://blog.csdn.net/qq_41536360/article/details/89110973</guid><author>qq_41536360</author><pubDate>Mon, 08 Apr 2019 22:03:40 +0800</pubDate><description><![CDATA[1.所有的类模板函数写在类的外部，在一个cpp中

         普通函数需要在函数参数、函数返回值和函数名称那都加上&lt;T&gt;


template &lt;typename T&gt;
Complex&lt;T&gt;  Complex&lt;T&gt;::operator+ (Complex&lt;T&gt; &amp;c2)
{
	Complex tmp(a+...]]></description><category></category></item><item><title><![CDATA[C++函数模板和类模板——DAY5]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89060690</link><guid>https://blog.csdn.net/qq_41536360/article/details/89060690</guid><author>qq_41536360</author><pubDate>Sat, 06 Apr 2019 21:58:03 +0800</pubDate><description><![CDATA[1.从模板类派生出模板类：


template &lt;class T&gt;
class A
{
public:
	A(T a)
	{
		this-&gt;a = a;
	}
public:
	void printA()
	{
		cout &lt;&lt; "a: " &lt;&lt; a &lt;&lt; endl;
	}
protected:
	T a;
};
template &lt...]]></description><category></category></item><item><title><![CDATA[C++函数模板和类模板——DAY4]]></title><link>https://blog.csdn.net/qq_41536360/article/details/89035633</link><guid>https://blog.csdn.net/qq_41536360/article/details/89035633</guid><author>qq_41536360</author><pubDate>Thu, 04 Apr 2019 22:04:49 +0800</pubDate><description><![CDATA[lei

1.类模板的介绍：类模板和函数模板的定义和使用类似，有两个或多个类，其功能是相同的，仅仅是数据类型不同。

　　类模板用于实现类所需数据的类型参数化；

　　类模板在表示数组、表、图等数据结构时非常重要，可以实现数据类型和算法的分离。

2.类模板的使用：具体如下代码

　　类模板的定义以及使用：


template&lt;typename T&gt;
class A 
{
publ...]]></description><category></category></item></channel></rss>