<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[asdfind的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/asdfind</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; asdfind]]></copyright><item><title><![CDATA[hdf4]]></title><link>https://blog.youkuaiyun.com/asdfind/article/details/39135171</link><guid>https://blog.youkuaiyun.com/asdfind/article/details/39135171</guid><author>asdfind</author><pubDate>Mon, 08 Sep 2014 10:43:52 +0800</pubDate><description><![CDATA[#include "mfhdf.h"

#pragma comment (lib, "mfhdf.lib")]]></description><category></category></item><item><title><![CDATA[GDI+]]></title><link>https://blog.youkuaiyun.com/asdfind/article/details/39118519</link><guid>https://blog.youkuaiyun.com/asdfind/article/details/39118519</guid><author>asdfind</author><pubDate>Sun, 07 Sep 2014 10:49:33 +0800</pubDate><description><![CDATA[GdiplusStartupInput gdiplusStartupInput;
    ULONG_PTR           gdiplusToken;

    GdiplusStartup(&gdiplusToken, &gdiplusStartupInput, NULL);

    GdiplusShutdown(gdiplusToken);]]></description><category></category></item><item><title><![CDATA[加载资源]]></title><link>https://blog.youkuaiyun.com/asdfind/article/details/39118477</link><guid>https://blog.youkuaiyun.com/asdfind/article/details/39118477</guid><author>asdfind</author><pubDate>Sun, 07 Sep 2014 10:43:02 +0800</pubDate><description><![CDATA[HRSRC hRsrc = FindResource(NULL, MAKEINTRESOURCE(IDR_MAP), TEXT("MAP"));

    if (hRsrc != NULL)
    {
        DWORD dwSize = SizeofResource(NULL, hRsrc);

        if (dwSize > 0)
        {
  ]]></description><category></category></item><item><title><![CDATA[控制台打印中文]]></title><link>https://blog.youkuaiyun.com/asdfind/article/details/39117613</link><guid>https://blog.youkuaiyun.com/asdfind/article/details/39117613</guid><author>asdfind</author><pubDate>Sun, 07 Sep 2014 07:46:04 +0800</pubDate><description><![CDATA[setlocale(LC_ALL, "chs");
setlocale(LC_ALL, "chs");
setlocale(LC_ALL, "chs");]]></description><category></category></item><item><title><![CDATA[MBCS与UNICODE互转换]]></title><link>https://blog.youkuaiyun.com/asdfind/article/details/39117541</link><guid>https://blog.youkuaiyun.com/asdfind/article/details/39117541</guid><author>asdfind</author><pubDate>Sun, 07 Sep 2014 06:50:59 +0800</pubDate><description><![CDATA[MBCS->UNICODE
std::string str("hello");

std::wstring wstr(str.length(), L" ");

//wstr.resize(str.length());
std::copy(str.begin(), str.end(), wstr.begin());


UNICODE->MBCS

std::string w]]></description><category></category></item></channel></rss>