<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[胡杨]]></title><description><![CDATA[态度，是一种习惯；学习，是一种享受]]></description><link>https://blog.csdn.net/fightingform</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; fightingform]]></copyright><item><title><![CDATA[【剑指】01-替换空格]]></title><link>https://blog.csdn.net/fightingform/article/details/70217675</link><guid>https://blog.csdn.net/fightingform/article/details/70217675</guid><author>fightingform</author><pubDate>Mon, 17 Apr 2017 23:58:52 +0800</pubDate><description><![CDATA[题目描述：输入一个链表，从尾到头打印链表每个节点的值。题目分析
用辅助stack来实现；
既然是从尾到头输出，而递归思想刚好符合情况。
代码实现：辅助栈class Solution {
public:
    vector<int> printListFromTailToHead(ListNode* head) { 
        vector<int> retVec;
        if(he]]></description><category></category></item><item><title><![CDATA[C++之vector中元素的N种遍历]]></title><link>https://blog.csdn.net/fightingform/article/details/52643360</link><guid>https://blog.csdn.net/fightingform/article/details/52643360</guid><author>fightingform</author><pubDate>Fri, 23 Sep 2016 21:13:55 +0800</pubDate><description><![CDATA[随着C++11标准的出现，C++标准添加了许多有用的特性，C++代码的写法也有比较多的变化。vector是经常要使用到的std组件，对于vector的遍历，本文罗列了若干种写法。]]></description><category></category></item><item><title><![CDATA[Python之Django1.9 访问静态文件]]></title><link>https://blog.csdn.net/fightingform/article/details/51169349</link><guid>https://blog.csdn.net/fightingform/article/details/51169349</guid><author>fightingform</author><pubDate>Sat, 16 Apr 2016 18:06:19 +0800</pubDate><description><![CDATA[一.前言根据官网的文档配置，出现了问题，出于‘内事问谷歌，外事更得问谷歌’的原则，在Stack Overflow找到了解决方案。本文只针对Django1.9配置，至于Django的其他版本，还请参考其它资料。二.项目树状图以上是项目的一级树状图，static文件夹中放静态文件（css，js等），templates文件夹中放模板文件(*.html)。以上是my_blog文件夹中的内容，其中注意的是se]]></description><category></category></item><item><title><![CDATA[Ubuntu之通过*.so文件查找对应的Package Name]]></title><link>https://blog.csdn.net/fightingform/article/details/51008134</link><guid>https://blog.csdn.net/fightingform/article/details/51008134</guid><author>fightingform</author><pubDate>Tue, 29 Mar 2016 18:09:24 +0800</pubDate><description><![CDATA[Ubuntu之通过*.so文件查找对应的Package Name]]></description><category></category></item><item><title><![CDATA[Ubuntu之ld搜索路径顺序]]></title><link>https://blog.csdn.net/fightingform/article/details/47302415</link><guid>https://blog.csdn.net/fightingform/article/details/47302415</guid><author>fightingform</author><pubDate>Wed, 05 Aug 2015 19:58:40 +0800</pubDate><description><![CDATA[一.静态库链接时搜索路径顺序 

1. ld会去找GCC命令中的参数-L

2. 再找gcc的环境变量LIBRARY_PATH

3. 再找内定目录 /lib /usr/lib /usr/local/lib 这是当初compile gcc时写在程序内的  

二.动态链接时、执行时搜索路径顺序: 

1. 编译目标代码时指定的动态库搜索路径

2. 环境变量LD_LIBRARY_PATH指定的动]]></description><category></category></item><item><title><![CDATA[C++获取本机MAC地址]]></title><link>https://blog.csdn.net/fightingform/article/details/44995815</link><guid>https://blog.csdn.net/fightingform/article/details/44995815</guid><author>fightingform</author><pubDate>Sat, 11 Apr 2015 15:31:33 +0800</pubDate><description><![CDATA[实用代码片段_C++获取本机MAC地址]]></description><category></category></item><item><title><![CDATA[java反射与xml文件解析]]></title><link>https://blog.csdn.net/fightingform/article/details/37813627</link><guid>https://blog.csdn.net/fightingform/article/details/37813627</guid><author>fightingform</author><pubDate>Tue, 15 Jul 2014 13:18:55 +0800</pubDate><description><![CDATA[在项目开发的过程中，遇到了要将日志导出为xml格式和将xml导入到日志数据库中的功能需求，因为项目中存在多种日志形式（这听起来很奇葩是不是？），我实在懒得为每一种日志都写一个方法。想到在开始的设计过程中，将每种的日志都映射为一个pojo，故想到了java的反射机制，也是个好方法，下面的代码只是简单地单元测试了下，不能保证正确，紧供参考。



package com.netauth.uti]]></description><category></category></item><item><title><![CDATA[栈与优先队列的使用_STL]]></title><link>https://blog.csdn.net/fightingform/article/details/29396091</link><guid>https://blog.csdn.net/fightingform/article/details/29396091</guid><author>fightingform</author><pubDate>Sun, 08 Jun 2014 20:53:55 +0800</pubDate><description><![CDATA[STL 中栈的使用方法(stack)

#include stack>


基本操作：

push(x) 将x加入栈中，即入栈操作

pop() 出栈操作(删除栈顶)，只是出栈，没有返回值

top() 返回第一个元素(栈顶元素)

size() 返回栈中的元素个数

empty() 当栈为空时，返回 true]]></description><category></category></item><item><title><![CDATA[几场考试，垫格了一生]]></title><link>https://blog.csdn.net/fightingform/article/details/29359871</link><guid>https://blog.csdn.net/fightingform/article/details/29359871</guid><author>fightingform</author><pubDate>Sun, 08 Jun 2014 12:38:45 +0800</pubDate><description><![CDATA[那时我们有梦，关于文学，关于爱情，关于穿越世界的旅行。如今我们深夜饮酒，杯子碰到一起，都是梦破碎的声音。 ——北岛《波兰来客》
   前天在朋友圈看到初高中同班好友贴上的这首北岛的《波兰来客》，心里落空的感觉比以往更强烈，也许是恰逢每年的高考时节的缘故。
   梦想，只适合谈，所以才加了个【梦】。]]></description><category></category></item><item><title><![CDATA[最优装载问题_贪心算法]]></title><link>https://blog.csdn.net/fightingform/article/details/28912983</link><guid>https://blog.csdn.net/fightingform/article/details/28912983</guid><author>fightingform</author><pubDate>Fri, 06 Jun 2014 20:39:15 +0800</pubDate><description><![CDATA[有一批集装箱要装上一艘载重为]]></description><category></category></item><item><title><![CDATA[活动安排_贪心算法]]></title><link>https://blog.csdn.net/fightingform/article/details/28896287</link><guid>https://blog.csdn.net/fightingform/article/details/28896287</guid><author>fightingform</author><pubDate>Fri, 06 Jun 2014 16:40:24 +0800</pubDate><description><![CDATA[活动安排问题就是要在所给的活动集合中选出最大的相容活动子集合，是可以用贪心算法有效求解的很好例子。该问题要求高效地安排一系列争用某一公共资源的活动。贪心算法提供了一个简单、漂亮的方法使得尽可能多的活动能兼容地使用公共资源。]]></description><category></category></item><item><title><![CDATA[快速排序_排序算法]]></title><link>https://blog.csdn.net/fightingform/article/details/28886925</link><guid>https://blog.csdn.net/fightingform/article/details/28886925</guid><author>fightingform</author><pubDate>Fri, 06 Jun 2014 15:52:05 +0800</pubDate><description><![CDATA[算法总是让我怀疑我的智商，]]></description><category></category></item><item><title><![CDATA[合并两个有序数组_向右循环移位]]></title><link>https://blog.csdn.net/fightingform/article/details/28682555</link><guid>https://blog.csdn.net/fightingform/article/details/28682555</guid><author>fightingform</author><pubDate>Thu, 05 Jun 2014 21:21:06 +0800</pubDate><description><![CDATA[设子数组a[0:k-1]和a[k,]]]></description><category></category></item></channel></rss>