<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[事了拂衣去，深藏功与名]]></title><description><![CDATA[悉心求学，博采众长；寡言广学，先博后渊。]]></description><link>https://blog.csdn.net/dotadage</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; dotadage]]></copyright><item><title><![CDATA[ENVI Error：SaveRasterFile failed]]></title><link>https://blog.csdn.net/dotadage/article/details/50533195</link><guid>https://blog.csdn.net/dotadage/article/details/50533195</guid><author>dotadage</author><pubDate>Sun, 17 Jan 2016 19:59:51 +0800</pubDate><description><![CDATA[出现问题当试图保存文件时，提示：SaveRasterFile failed 
由出错信息可知，无法获取文件的Metadata，这是什么原因？解决方法由于打开的文件里面有中文路径，导致ENVI在保存的时候不能够正确调用获取Metadata的模块，所以更改中文路径即可！]]></description><category></category></item><item><title><![CDATA[vs2015编译gdal出错及解决方案]]></title><link>https://blog.csdn.net/dotadage/article/details/50426434</link><guid>https://blog.csdn.net/dotadage/article/details/50426434</guid><author>dotadage</author><pubDate>Tue, 29 Dec 2015 14:25:26 +0800</pubDate><description><![CDATA[vs2015编译gdal出错及解决方案错误使用vs2015编译gdal2.0.1时出现错误：Creating library gdal_i.lib and object gdal_i.exp
odbccp32.lib(dllload.obj) : error LNK2019: unresolved external symbol _vsnwprintf_s referenced in functio]]></description><category></category></item><item><title><![CDATA[Node.js使用exec模拟耗时操作测试非阻塞]]></title><link>https://blog.csdn.net/dotadage/article/details/50217161</link><guid>https://blog.csdn.net/dotadage/article/details/50217161</guid><author>dotadage</author><pubDate>Tue, 08 Dec 2015 12:37:19 +0800</pubDate><description><![CDATA[Node.js使用exec模拟耗时操作测试非阻塞最近看了一本书《Node入门》，其中，如果想要一个请求处理程序中耗时的操作不会阻塞对另一个请求作出立即响应，使用了Node.js的child_process模块的一个既简单又实用的非阻塞操作exec()。下面模拟通过exec()中执行一个耗时操作，来测试非阻塞。// 这里只写了exec代码，其他部分详见《Node入门》
// 休眠6秒后执行ls -la]]></description><category></category></item><item><title><![CDATA[回归CSDN]]></title><link>https://blog.csdn.net/dotadage/article/details/50205629</link><guid>https://blog.csdn.net/dotadage/article/details/50205629</guid><author>dotadage</author><pubDate>Mon, 07 Dec 2015 14:56:48 +0800</pubDate><description><![CDATA[俗话说，好记性不如烂笔头，三个月没有写文章，感觉自己好像是在虚度光阴，是时候大喊一句，”I come back!“。]]></description><category></category></item><item><title><![CDATA[C++ 实现单例模式]]></title><link>https://blog.csdn.net/dotadage/article/details/47703207</link><guid>https://blog.csdn.net/dotadage/article/details/47703207</guid><author>dotadage</author><pubDate>Sun, 16 Aug 2015 16:16:03 +0800</pubDate><description><![CDATA[Code#pragma once#include <windows.h>/*
使用临界区来枷锁和解锁
*/
class LockBase
{
private:
    friend class Singleton;
    CRITICAL_SECTION cs;
    void lock()
    {
        EnterCriticalSection(&cs);
    }
    v]]></description><category></category></item><item><title><![CDATA[Vistual Studio 筛选器]]></title><link>https://blog.csdn.net/dotadage/article/details/47291165</link><guid>https://blog.csdn.net/dotadage/article/details/47291165</guid><author>dotadage</author><pubDate>Wed, 05 Aug 2015 08:42:07 +0800</pubDate><description><![CDATA[初认识使用Vistual Studio开发项目时，有时源码文件过多，想按功能进行分类管理，这个时候就可以使用“筛选器（filter）”。添加筛选器很简单，在项目上右键单击，选择“添加 | 新建筛选器”，然后命名就可以了。之后向筛选器中添加文件。注意筛选器,只不过是个逻辑目录。只是方便我们分类管理而已，默认情况下新建的文件均在同一个文件夹下。贪心如果不仅希望能够分类管理文件，还希望这些源码文件能存储在]]></description><category></category></item><item><title><![CDATA[学习]]></title><link>https://blog.csdn.net/dotadage/article/details/47089817</link><guid>https://blog.csdn.net/dotadage/article/details/47089817</guid><author>dotadage</author><pubDate>Mon, 27 Jul 2015 19:52:27 +0800</pubDate><description><![CDATA[在任何情况下，你都要学习——以更换学习内容作为你的休息。(安德烈·莫鲁瓦  《大仲马传》)]]></description><category></category></item><item><title><![CDATA[文件重定向]]></title><link>https://blog.csdn.net/dotadage/article/details/47089469</link><guid>https://blog.csdn.net/dotadage/article/details/47089469</guid><author>dotadage</author><pubDate>Mon, 27 Jul 2015 19:23:33 +0800</pubDate><description><![CDATA[文件重定向
  当你测试程序时，反复从键盘敲入，是非常乏味和低效的，这个时候就可以使用文件重定向机制，这种机制允许我们将标准输入和标准输出与命名文件关联起来。
看一个简单的C++程序#include <iostream>
#include <string>using namespace std;int main()
{
    string word;
    while (cin >> word)]]></description><category></category></item><item><title><![CDATA[lib和dll的区别]]></title><link>https://blog.csdn.net/dotadage/article/details/47027005</link><guid>https://blog.csdn.net/dotadage/article/details/47027005</guid><author>dotadage</author><pubDate>Thu, 23 Jul 2015 19:24:40 +0800</pubDate><description><![CDATA[前言当使用visual studio生成静态库lib时，会生成一个lib文件，这个lib文件将记录函数的索引和实现。当使用visual studio生成动态库dll时，会生成一个dll文件和一个同名的lib文件。lib一般是一些索引信息，记录了dll中函数的入口和位置，dll中是函数的具体内容。区别
  （1）lib是编译时用到的，dll是运行时用到的。如果要完成源代码的编译，只需要lib；如果要使]]></description><category></category></item><item><title><![CDATA[静心学习]]></title><link>https://blog.csdn.net/dotadage/article/details/46878077</link><guid>https://blog.csdn.net/dotadage/article/details/46878077</guid><author>dotadage</author><pubDate>Tue, 14 Jul 2015 14:55:49 +0800</pubDate><description><![CDATA[当你的才华还撑不起你的野心的时候，你就应该静下心来学习；当你的能力还驾驭不了你的目标时，就应该沉下心来，历练；梦想，不是浮躁，而是沉淀和积累，只有拼出来的美丽，没有等出来的辉煌，机会永远是留给最渴望的那个人，学会与内心深处的你对话，问问自己，想要怎样的人生，静心学习，耐心沉淀，送给自己，共勉。]]></description><category></category></item><item><title><![CDATA[QWidget: Cannot create a QWidget when no GUI is being used]]></title><link>https://blog.csdn.net/dotadage/article/details/46858173</link><guid>https://blog.csdn.net/dotadage/article/details/46858173</guid><author>dotadage</author><pubDate>Mon, 13 Jul 2015 09:06:38 +0800</pubDate><description><![CDATA[使用vs当创建Qt Console Application来调用Qt的dll（含有gui界面）时，在Console Project Wizard应把GUI library选择上，当运行程序时出现： QWidget: Cannot create a QWidget when no GUI is being used，解决方法是将QCoreApplication改为QApplication]]></description><category></category></item><item><title><![CDATA[人生]]></title><link>https://blog.csdn.net/dotadage/article/details/46703127</link><guid>https://blog.csdn.net/dotadage/article/details/46703127</guid><author>dotadage</author><pubDate>Tue, 30 Jun 2015 23:57:41 +0800</pubDate><description><![CDATA[为人老子说：齿刚唇厚,刚者不如柔者久,柔能克刚时间当时间匆匆逝去，你是否追悔莫及，你是否了无遗憾？韶华易逝的道理众所皆知，你是否在虚度光阴？娱乐现在娱乐太多，诱惑太多，你能否做到独善其身，君子慎独呢？]]></description><category></category></item><item><title><![CDATA[股票]]></title><link>https://blog.csdn.net/dotadage/article/details/46703083</link><guid>https://blog.csdn.net/dotadage/article/details/46703083</guid><author>dotadage</author><pubDate>Tue, 30 Jun 2015 23:56:16 +0800</pubDate><description><![CDATA[学习中……]]></description><category></category></item><item><title><![CDATA[扯犊子]]></title><link>https://blog.csdn.net/dotadage/article/details/46703009</link><guid>https://blog.csdn.net/dotadage/article/details/46703009</guid><author>dotadage</author><pubDate>Tue, 30 Jun 2015 23:54:25 +0800</pubDate><description><![CDATA[距离找工作，时间渐渐少了……]]></description><category></category></item><item><title><![CDATA[如何制作GIF动态图片]]></title><link>https://blog.csdn.net/dotadage/article/details/46475851</link><guid>https://blog.csdn.net/dotadage/article/details/46475851</guid><author>dotadage</author><pubDate>Fri, 12 Jun 2015 21:45:48 +0800</pubDate><description><![CDATA[主要思路：首先通过截屏获取图片素材，然后通过photoshop生成gif图片。软件我使用的软件是Bandicam和Photoshop，Bandicam负责截屏获取图片素材，Photoshop负责生成gif图片。步骤准备图片素材1.打开Bandicam，根据自身需求，自行设置，我的设置如下 
2.调整截屏窗口的大小 
3.开始截屏和结束截屏快捷键均是F11，控制开始和结束。4.生成图片素材 
生成gi]]></description><category></category></item><item><title><![CDATA[LeetCode 13："Roman to Integer"]]></title><link>https://blog.csdn.net/dotadage/article/details/46432259</link><guid>https://blog.csdn.net/dotadage/article/details/46432259</guid><author>dotadage</author><pubDate>Tue, 09 Jun 2015 21:52:54 +0800</pubDate><description><![CDATA[Thinking使用迭代的思想，简化程序Codeclass Solution {
public:
    int romanToInt(string s) {
        // 判断s为空时
        if (s == "")
        {
            return 0;
        }        int num = 0;
        // 获取尾部字符]]></description><category></category></item><item><title><![CDATA[LeetCode 12："Integer to Roman"]]></title><link>https://blog.csdn.net/dotadage/article/details/46432215</link><guid>https://blog.csdn.net/dotadage/article/details/46432215</guid><author>dotadage</author><pubDate>Tue, 09 Jun 2015 21:51:14 +0800</pubDate><description><![CDATA[Thinking使用迭代的思想，简化程序Codeclass Solution {
public:
    string intToRoman(int num) {
        // 初始化
        string roman = "";        if (num == 1000)
        {
            roman = "M";
        }]]></description><category></category></item><item><title><![CDATA[插入排序]]></title><link>https://blog.csdn.net/dotadage/article/details/46129431</link><guid>https://blog.csdn.net/dotadage/article/details/46129431</guid><author>dotadage</author><pubDate>Thu, 28 May 2015 21:26:44 +0800</pubDate><description><![CDATA[Algorithm根据上一篇文章的插入排序算法步骤： 
1）将第一待排序序列第一个元素看做一个有序序列，把第二个元素到最后一个元素当成是未排序序列。 
2）从头到尾依次扫描未排序序列，将扫描到的每个元素插入有序序列的适当位置。（如果待插入的元素与有序序列中的某个元素相等，则将待插入元素插入到相等元素的后面。）Code使用vector实现插入排序算法代码如下：/********************]]></description><category></category></item><item><title><![CDATA[8大排序算法图文讲解]]></title><link>https://blog.csdn.net/dotadage/article/details/46053007</link><guid>https://blog.csdn.net/dotadage/article/details/46053007</guid><author>dotadage</author><pubDate>Wed, 27 May 2015 21:25:13 +0800</pubDate><description><![CDATA[排序算法可以分为内部排序和外部排序，内部排序是数据记录在内存中进行排序，而外部排序是因排序的数据很大，一次不能容纳全部的排序记录，在排序过程中需要访问外存。常见的内部排序算法有：插入排序、希尔排序、选择排序、冒泡排序、归并排序、快速排序、堆排序、基数排序等。本文将依次介绍上述八大排序算法。算法一：插入排序插入排序是一种最简单直观的排序算法，它的工作原理是通过构建有序序列，对于未排序数据，在已排序序列]]></description><category></category></item><item><title><![CDATA[清除浮动]]></title><link>https://blog.csdn.net/dotadage/article/details/46050811</link><guid>https://blog.csdn.net/dotadage/article/details/46050811</guid><author>dotadage</author><pubDate>Wed, 27 May 2015 19:27:28 +0800</pubDate><description><![CDATA[清除浮动，我一般使用如下代码/* 在浮动元素后加个div设置clear: both; height:0,overflow:hidden */
        .clear {
            clear: both;
            height: 0px;
            overflow: hidden;
        }但是这个div放在什么位置是值得商榷的！一般情形]]></description><category></category></item></channel></rss>