<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[michaelhit的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/michaelhit</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; michaelhit]]></copyright><item><title><![CDATA[Primer c++ 第十章 泛型算法]]></title><link>https://blog.csdn.net/michaelhit/article/details/100545382</link><guid>https://blog.csdn.net/michaelhit/article/details/100545382</guid><author>michaelhit</author><pubDate>Wed, 04 Sep 2019 19:13:07 +0800</pubDate><description><![CDATA[第十章 泛型算法

10.1 概述

头文件 algorithm、numeric

10.2 初识泛型算法

10.2.1 只读算法

accumulate 求和 equal 等于

10.2.2 写容器元素的算法

10.2.3 重排容易元素的算法


sort()
​
unique()

10.3 定制操作

10.3.1 向算法传递函数

stable_sort() 稳定排序

10.3.2...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第九章 顺序容器]]></title><link>https://blog.csdn.net/michaelhit/article/details/100545369</link><guid>https://blog.csdn.net/michaelhit/article/details/100545369</guid><author>michaelhit</author><pubDate>Wed, 04 Sep 2019 19:12:34 +0800</pubDate><description><![CDATA[第九章 顺序容器

9.1 顺序容器概述

顺序不依赖元素的值，而是与元素加入容器时的位置相对应的。


	vector：可变大小数组。快速随机访问。在尾部之外的位置插入或删除元素可能很慢。
	
	
	deque：双端队列。支持快速随机访问。在头尾位置插入、删除速度很快
	
	
	list：双向列表。只支持双向顺序访问。在list中任何位置进行插入、删除操作速度都很快。
	
	
	forward_...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第八章 IO库]]></title><link>https://blog.csdn.net/michaelhit/article/details/100515991</link><guid>https://blog.csdn.net/michaelhit/article/details/100515991</guid><author>michaelhit</author><pubDate>Tue, 03 Sep 2019 12:53:49 +0800</pubDate><description><![CDATA[第八章 IO库

8.1 IO类

头文件：


iostream
fstream
sstream

8.1.1 IO对象无拷贝或赋值

不能拷贝或对IO对象赋值

8.1.2 条件状态


strm::iostate 提供了表达条件状态的完整功能 
strm::badbit 指出流已崩溃 
strm::failbit 用来支出一个IO操作失败了 
strm::eofbot 用来支出流到...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第七章 类]]></title><link>https://blog.csdn.net/michaelhit/article/details/100515984</link><guid>https://blog.csdn.net/michaelhit/article/details/100515984</guid><author>michaelhit</author><pubDate>Tue, 03 Sep 2019 12:53:06 +0800</pubDate><description><![CDATA[第七章 类

7.1 定义抽象数据类型

7.1.1 设计Sales_data

7.1.2 定义改进的额Sale_data类

定义在类内部的函数式隐式的inline函数

紧随参数列表之后的const关键字：修改隐式this指针的类型

默认情况下，this的类型是指向类类型非常量版本的常量指针

C++语言的做法：允许把const关键字放在成员函数的参数列表之后，表示this是一个指向常量的...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第六章 函数编辑器]]></title><link>https://blog.csdn.net/michaelhit/article/details/100252184</link><guid>https://blog.csdn.net/michaelhit/article/details/100252184</guid><author>michaelhit</author><pubDate>Mon, 02 Sep 2019 13:30:56 +0800</pubDate><description><![CDATA[第六章 函数
6.1 函数基础
6.1.1 局部对象
局部静态对象：程序的执行路径第一次经过对象定义语句时初始化，并且直到程序终止才被销毁，在此期间即使对象所在的函数结束执行也不会对它有影响。
6.1.2 函数声明
含有函数声明的头文件应该被包含到定义函数的源文件中。
6.1.3 分离式编译
6.2 参数传递
6.2.1 传值参数
6.2.2 传引用参数
使用引用避免拷贝
使用引用形参返回额外信息...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第五章 语句]]></title><link>https://blog.csdn.net/michaelhit/article/details/100250744</link><guid>https://blog.csdn.net/michaelhit/article/details/100250744</guid><author>michaelhit</author><pubDate>Mon, 02 Sep 2019 13:27:13 +0800</pubDate><description><![CDATA[第五章 语句

5.1 简单语句

空语句：

； //空语句

别漏写分号，也别多写分号。多余的空语句并非总是无害的。

5.2 语句作用域

5.3 条件语句

5.3.1 if语句

5.3.2 switch语句


switch (ch) {
​
    case 'a':
        //
        break;
    case 'b':
        //
       ...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第四章 表达式]]></title><link>https://blog.csdn.net/michaelhit/article/details/100232067</link><guid>https://blog.csdn.net/michaelhit/article/details/100232067</guid><author>michaelhit</author><pubDate>Mon, 02 Sep 2019 12:28:26 +0800</pubDate><description><![CDATA[第四章 表达式

4.1 基础

4.1.1 基本概念

4.1.2 优先级与结合律

括号无视优先级与结合律

4.1.3 求值顺序

4.2 算术运算符

4.3 逻辑和关系运算符

4.4 赋值运算符

4.5 递增递减运算符

4.6 成员访问运算符

4.7 条件运算符

4.8 位运算符

4.9 sizeof运算符

4.10 逗号运算符

4.11 类型转换

隐式转换

4.11...]]></description><category></category></item><item><title><![CDATA[Primer c++ 第三章 字符串、向量、数组]]></title><link>https://blog.csdn.net/michaelhit/article/details/100231976</link><guid>https://blog.csdn.net/michaelhit/article/details/100231976</guid><author>michaelhit</author><pubDate>Mon, 02 Sep 2019 12:27:23 +0800</pubDate><description><![CDATA[第三章 字符串、向量、数组

3.1 命名空间的using声明


using namespce std;

3.2 标准库类型string


#include &lt;string&gt;
using std::string

3.2.1 初始化


string s3("value");
string s3 = "value";
string s4(10, 'c');

3.2.2 stri...]]></description><category></category></item><item><title><![CDATA[C++学习(1)--map]]></title><link>https://blog.csdn.net/michaelhit/article/details/88569522</link><guid>https://blog.csdn.net/michaelhit/article/details/88569522</guid><author>michaelhit</author><pubDate>Sun, 17 Mar 2019 14:48:05 +0800</pubDate><description><![CDATA[map的官方定义：


Map
Maps are associative containers that store elements formed by a combination of a key value and a mapped value, following a specific order.

In a map, the key values are generally used ...]]></description><category></category></item><item><title><![CDATA[C/C++语言中的#和##的作用]]></title><link>https://blog.csdn.net/michaelhit/article/details/82853634</link><guid>https://blog.csdn.net/michaelhit/article/details/82853634</guid><author>michaelhit</author><pubDate>Thu, 27 Sep 2018 11:57:43 +0800</pubDate><description><![CDATA[经常遇到C/C++宏定义中的#，#的用法分为两种：#和##

#表示将宏定义中的参数变成字符串

##表示将宏定义中的参数变成字符串连在一起

例子： 


#include &amp;lt;iostream&amp;gt;

#define STR(a)       #a
#define FUNC(a, b)   a##b

int main()
{
    using namespace std;

    ...]]></description><category></category></item><item><title><![CDATA[但是生活不止眼前的苟且]]></title><link>https://blog.csdn.net/michaelhit/article/details/50975341</link><guid>https://blog.csdn.net/michaelhit/article/details/50975341</guid><author>michaelhit</author><pubDate>Thu, 24 Mar 2016 21:48:36 +0800</pubDate><description><![CDATA[毕业以后，一门心思的想进好一些的软件公司，但是也不知道哪家适合，再就是水平有限，只会些基础知识。最后迷迷糊糊进了金融IT行业。薪水不高不低，生活波澜不惊，但是生活好像少了些什么。
哦，好像少了青年人奋斗的热情。
工作后就开始迷茫了，其实以前也迷茫，但是我不想再了。每个人都憧憬着生活的美好，我也一样，希望有着很高的薪水，期望着美好的爱情。所以，我不能迷茫，不能当大众。我想做回自己，曾经努力拼搏的]]></description><category></category></item><item><title><![CDATA["ORA-00942: 表或视图不存在 "的原因和解决方法]]></title><link>https://blog.csdn.net/michaelhit/article/details/40596213</link><guid>https://blog.csdn.net/michaelhit/article/details/40596213</guid><author>michaelhit</author><pubDate>Wed, 29 Oct 2014 23:05:10 +0800</pubDate><description><![CDATA[采用Oracle数据库，使用Powerdesigner设计，生成Sql文件导入后查询出现“ORA-00942: 表或视图不存在 ”，很是郁闷，这个问题以前出现过，当初解决了，但因好久没有使用，这次竟然忘了，害得我浪费了好些时间，为了避免再次忘记，将它记下来，同时和大家一起分享。


1、问题产生的原因
　　Oracle 是大小写敏感的，我们创自己写Sql脚本创建表的时候Oracle会自动将]]></description><category></category></item><item><title><![CDATA[thrift的用法入门，实现C#和java通信哦]]></title><link>https://blog.csdn.net/michaelhit/article/details/40457595</link><guid>https://blog.csdn.net/michaelhit/article/details/40457595</guid><author>michaelhit</author><pubDate>Sat, 25 Oct 2014 21:48:12 +0800</pubDate><description><![CDATA[thrift的简介，就是实现J]]></description><category></category></item><item><title><![CDATA[c++中的const与指针]]></title><link>https://blog.csdn.net/michaelhit/article/details/38763195</link><guid>https://blog.csdn.net/michaelhit/article/details/38763195</guid><author>michaelhit</author><pubDate>Fri, 22 Aug 2014 22:14:44 +0800</pubDate><description><![CDATA[﻿﻿



在c/c++中,指针本身就是一个难点，再加与const的结合,常会产生许多让人费解的地方，在这里做个小结。
 1.定义const对象
const int buffsize=512;
因为常量定义后就不能修改,所以定义时必须初始化.
const i,j=0; //error,i没有初始化

2.const对象默认为文件的局部变量
//file1.cc
extern]]></description><category></category></item><item><title><![CDATA[c++不用库函数实现strcat]]></title><link>https://blog.csdn.net/michaelhit/article/details/25771591</link><guid>https://blog.csdn.net/michaelhit/article/details/25771591</guid><author>michaelhit</author><pubDate>Wed, 14 May 2014 09:21:36 +0800</pubDate><description><![CDATA[自己写的，就不写注视了，]]></description><category></category></item><item><title><![CDATA[s3c2440的pwm输出寄存器设置分析]]></title><link>https://blog.csdn.net/michaelhit/article/details/24025897</link><guid>https://blog.csdn.net/michaelhit/article/details/24025897</guid><author>michaelhit</author><pubDate>Fri, 18 Apr 2014 16:05:25 +0800</pubDate><description><![CDATA[﻿﻿

 

1.S3C2440有5个16位的定时器，其中0,1,2,3定时器都有一个输出引脚，通过定时器控制引脚周期性的输出高低电平(通过引进GPB0~GPB3输出，这是GPB引脚的第三功能)，从而实现pwm功能。

 

2.定时器的时钟源是PCLK，太高，进过两次分频，第一级8位预分频（0~255），第二级4位分频，然后输出5种频率的时钟，2分频，4分频，8分频，16分频和外]]></description><category></category></item><item><title><![CDATA[tq2440移植网口驱动，编译出错的解决方法，基于2.6.30.4版本]]></title><link>https://blog.csdn.net/michaelhit/article/details/23511769</link><guid>https://blog.csdn.net/michaelhit/article/details/23511769</guid><author>michaelhit</author><pubDate>Sat, 12 Apr 2014 09:22:11 +0800</pubDate><description><![CDATA[drivers/net/dm9000.c: In function 'dm9000_probe':
drivers/net/dm9000.c:1356: error: 'struct net_device' has no member named 'open'
drivers/net/dm9000.c:1357: error: 'struct net_device' has no member n]]></description><category></category></item><item><title><![CDATA[linux设备驱动入门，最简单的LED驱动，基于tq2440]]></title><link>https://blog.csdn.net/michaelhit/article/details/23375333</link><guid>https://blog.csdn.net/michaelhit/article/details/23375333</guid><author>michaelhit</author><pubDate>Thu, 10 Apr 2014 19:08:48 +0800</pubDate><description><![CDATA[﻿﻿
/*************************************
 NAME:  led.c 
 COPYRIGHT: XMG
*************************************/
#include 
#include 
#include 
#include 
#include 
#include 
#include 
#inclu]]></description><category></category></item></channel></rss>