<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Lin_1211的博客]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/Lin_1211</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; Lin_1211]]></copyright><item><title><![CDATA[Mac平台Clion配置GLFW+GLAD的项目]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584038</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584038</guid><author>Lin_1211</author><pubDate>Sat, 19 Jan 2019 14:07:00 +0800</pubDate><description><![CDATA[前期的准备工作详见LearnOpenGL CN
看这篇教程的前提是假设你已经编译好了GLFW文件夹以及下载好了GLAD，不会的话可以看我的另一篇
文章的前部分:配置
Clion新建一个项目，CMakeLists.txt请按照下面的填写：

 1 cmake_minimum_required(VERSION 3.12)
 2 project(OpenGL)　　#OpenGL是...]]></description><category></category></item><item><title><![CDATA[macOS Mojave配置OpenGL开发环境]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584048</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584048</guid><author>Lin_1211</author><pubDate>Tue, 04 Dec 2018 15:28:00 +0800</pubDate><description><![CDATA[---恢复内容开始---

前言：
　　本文写作目的：
　　是由于本人参考csdn原文 的方法配置环境时踩了很多坑，所以在此写一篇文防止以后用到。
工具：
　　Xcode
　　CMake
步骤：
　　准备工作:
　　Xcode一般Mac用户都安装了。

　　1. 在终端键入xcode-select --install 安装Xcode command L...]]></description><category></category></item><item><title><![CDATA[[算法竞赛入门经典] 象棋 ACM/ICPC Fuzhou 2011, UVa1589 较详细注释]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584037</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584037</guid><author>Lin_1211</author><pubDate>Mon, 12 Nov 2018 20:18:00 +0800</pubDate><description><![CDATA[Description:
Xiangqi is one of the most popular two-player board games in China. The game represents a battle between two armies with the goal of capturing the enemy’s “general” piece. In this p...]]></description><category></category></item><item><title><![CDATA[最长上升子序列]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584046</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584046</guid><author>Lin_1211</author><pubDate>Wed, 07 Nov 2018 19:56:00 +0800</pubDate><description><![CDATA[最长上升子序列 Longest Increase Subsequence
#include &lt;iostream&gt;

using namespace std;

void LongestIncreaseSequence(int *a,int n){
    int dp[n];
    int ans = 1;
    for(int i = 0;i &lt; n;i ++){...]]></description><category></category></item><item><title><![CDATA[Qt快速入门第三版下载]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584042</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584042</guid><author>Lin_1211</author><pubDate>Sun, 28 Oct 2018 15:16:00 +0800</pubDate><description><![CDATA[找了半天才找到一个靠谱的：
http://www.ddooo.com/softdown/111665.htm

转载于:https://www.cnblogs.com/1Kasshole/p/9865711.html]]></description><category></category></item><item><title><![CDATA[[C++]类成员返回语句 return *this 的理解]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584035</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584035</guid><author>Lin_1211</author><pubDate>Sat, 20 Oct 2018 10:50:00 +0800</pubDate><description><![CDATA[经常会在类似 copy-assignment 的成员函数看到返回语句 return *this ,这类函数通常返回类型是所属类的引用。

类成员函数的隐式指针 class *this const 经过 *this的解引用后成为此对象本身。此时若成员函数返回类型是 class ，那么返回的将是 this 指向的对象实体的拷贝；
若返回类型是 class&amp; ，那么将返回一个绑...]]></description><category></category></item><item><title><![CDATA[[C++]UVaLive7324 ASCII Addtion]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584023</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584023</guid><author>Lin_1211</author><pubDate>Sun, 30 Sep 2018 17:19:00 +0800</pubDate><description><![CDATA[Description
Nowadays, there are smartphone applications that instantly translate text and even solve math problems if you just point your phone’s camera at them. Your job is to implement a much s...]]></description><category></category></item><item><title><![CDATA[[算法竞赛入门经典]Message Decoding,ACM/ICPC World Finals 1991,UVa213]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584024</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584024</guid><author>Lin_1211</author><pubDate>Sat, 29 Sep 2018 19:00:00 +0800</pubDate><description><![CDATA[Description
Some message encoding schemes require that an encoded message be sent in two parts. The first part, called the header, contains the characters of the message. The second part contains...]]></description><category></category></item><item><title><![CDATA[[C++] const与指针的关系]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584021</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584021</guid><author>Lin_1211</author><pubDate>Sat, 29 Sep 2018 11:31:00 +0800</pubDate><description><![CDATA[首先快速复习一些基础。
考虑下面的声明兼定义式：
int p = 10;
p的基础数据类型是int。

考虑下面的声明兼定义式：
const int a = 10;
a的基础数据类型是int，a是一个常量对象，所以必须在声明时初始化。

考虑下面的语句：
const int a = 10; int *ptr = &amp;a;
错误，不能将整型指针指向整型常量对象。
const int*...]]></description><category></category></item><item><title><![CDATA[[算法竞赛入门经典]Ancient Cipher, NEERC 2004,UVa1339]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584018</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584018</guid><author>Lin_1211</author><pubDate>Wed, 26 Sep 2018 21:09:00 +0800</pubDate><description><![CDATA[Description
Ancient Roman empire had a strong government system with various departments, including a secret
service department. Important documents were sent between provinces and the capital in...]]></description><category></category></item><item><title><![CDATA[EffectiveC++ 第7章 模板与泛型编程]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584033</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584033</guid><author>Lin_1211</author><pubDate>Tue, 31 Jul 2018 10:03:00 +0800</pubDate><description><![CDATA[我根据自己的理解，对原文的精华部分进行了提炼，并在一些难以理解的地方加上了自己的“可能比较准确”的「翻译」。

Chapter 7 模版与泛型编程
Templates and Generic Programming
本章无法使你成为一个专家级的template程序员，但可以使你成为一个比较好的template程序员。本章也会给你必要信息，使你能够扩展你的template编程，到达你所渴...]]></description><category></category></item><item><title><![CDATA[C++自定义String字符串类,支持子串搜索]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584044</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584044</guid><author>Lin_1211</author><pubDate>Sat, 28 Jul 2018 17:52:00 +0800</pubDate><description><![CDATA[C++自定义String字符串类
实现了各种基本操作，包括重载+号实现String的拼接
findSubStr函数，也就是寻找目标串在String中的位置，用到了KMP字符串搜索算法。
#include &lt;iostream&gt;
#include &lt;cstring&gt;
using namespace std;

class String;

class Data{   ...]]></description><category></category></item><item><title><![CDATA[C++ 实现简单命令行学生管理系统]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584040</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584040</guid><author>Lin_1211</author><pubDate>Thu, 26 Jul 2018 16:33:00 +0800</pubDate><description><![CDATA[C++ 实现简单命令行学生管理系统
预览：



编译环境是macOS。system(“clear”) 在windows下请换成 system(“cls”)
#include &lt;iostream&gt;
#include &lt;vector&gt;
#include &lt;string&gt;
#include &lt;algorithm&gt;
#include &lt;cs...]]></description><category></category></item><item><title><![CDATA[Java Swing实现一个简单而优美的记事本( 较详细注释 )]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584039</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584039</guid><author>Lin_1211</author><pubDate>Tue, 03 Jul 2018 09:25:00 +0800</pubDate><description><![CDATA[Java Swing实现具有基本功能的记事本
目前实现了：
文件

新建
打开
保存
退出前保存询问

编辑

剪切
复制
粘贴
清除
撤销

格式

字体选择
字体颜色选择

帮助

关于 (样式采用了css与html来描绘)

工具栏
图标形式的：

保存
复制
粘贴
剪切
文字加粗
文字斜体

底部状态栏

文本字数实时统计
日期显示
编码显示(其实是假的哈哈)

右键弹出菜单

...]]></description><category></category></item><item><title><![CDATA[EffectiveC++笔记 目录]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584022</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584022</guid><author>Lin_1211</author><pubDate>Wed, 13 Jun 2018 16:15:00 +0800</pubDate><description><![CDATA[Charpter 1. 让自己习惯C++                    
条款01: 视C++为一个语言联邦
条款02: 尽量以const，enum，inline替换#define
条款03: 尽可能使用const
条款04: 确定对象被使用前已先被初始化

Charpter 2. 构造/析构/赋值运算    ...]]></description><category></category></item><item><title><![CDATA[EffectiveC++ 第6章 继承与面向对象设计]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584036</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584036</guid><author>Lin_1211</author><pubDate>Wed, 13 Jun 2018 15:47:00 +0800</pubDate><description><![CDATA[我根据自己的理解，对原文的精华部分进行了提炼，并在一些难以理解的地方加上了自己的“可能比较准确”的「翻译」。

Chapter 6 继承与面向对象设计
Inheritance and Object-Oriented Design

条款32: 确定你的public继承塑模出is-a关系

以C++进行面向对象编程，最重要的一个规则是：public inheritance（公开继承）意味...]]></description><category></category></item><item><title><![CDATA[C++创建对象的三种方法]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584034</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584034</guid><author>Lin_1211</author><pubDate>Mon, 04 Jun 2018 20:55:00 +0800</pubDate><description><![CDATA[我自己以前经常弄混
A a(1); 栈内存中分配
A b = A(1); 栈内存中分配，和第一种无本质区别
A c = new A(1); 堆内存中分配

前两种在函数体执行完毕之后会被释放，第三种需要人工delete，否则会常驻在内存中直到程序终止



转载于:https://www.cnblogs.com/1Kasshole/p/9135503.html...]]></description><category></category></item><item><title><![CDATA[关于并查集的路径压缩(Path Compress)优化]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584031</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584031</guid><author>Lin_1211</author><pubDate>Wed, 30 May 2018 19:28:00 +0800</pubDate><description><![CDATA[之前在优快云看到一篇很受欢迎的讲解并查集的博文，其中自然用到了路径压缩：
int pre[1000];
int find(int x){
    int root = x;
    while(pre[root]!=root)
        root = pre[root];
    int i = x,j;
    while(i!=root){      //path compr...]]></description><category></category></item><item><title><![CDATA[EffectiveC++ 第5章 实现]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584026</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584026</guid><author>Lin_1211</author><pubDate>Wed, 30 May 2018 00:02:00 +0800</pubDate><description><![CDATA[我根据自己的理解，对原文的精华部分进行了提炼，并在一些难以理解的地方加上了自己的“可能比较准确”的「翻译」。

Chapter 5 实现 Implementations

适当提出属于你的class定义以及各种functions声明相当花费心思。一旦正确完成它们，相应的实现大多直截了当。尽管如此，还是要小心很多细节。


条款26 : 尽可能延后变量定义式的出现时间
当你定义了一个变量...]]></description><category></category></item><item><title><![CDATA[C++实现递归版二分搜索算法]]></title><link>https://blog.youkuaiyun.com/Lin_1211/article/details/101584025</link><guid>https://blog.youkuaiyun.com/Lin_1211/article/details/101584025</guid><author>Lin_1211</author><pubDate>Tue, 29 May 2018 20:29:00 +0800</pubDate><description><![CDATA[无聊撸了一个，没啥技术含量，别吐槽。。
#include &lt;iostream&gt;
using namespace std;
int BinarySearch(int* nums,int key,int len);
int search(int* nums,int key,int L,int R);

int main()
{
    int *nums;
    int len...]]></description><category></category></item></channel></rss>