<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shongbee2的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shongbee2</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shongbee2]]></copyright><item><title><![CDATA[如何监听OutputDebugString]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103997673</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103997673</guid><author>shongbee2</author><pubDate>Thu, 16 Jan 2020 00:13:13 +0800</pubDate><description><![CDATA[代码
#include &lt;iostream&gt;
#include &lt;io.h&gt;
#include &lt;fcntl.h&gt;
#include &lt;process.h&gt;
#include &lt;Windows.h&gt;
#include&lt;thread&gt;
#include &lt;windows.h&gt;
#include &lt;atlbase...]]></description><category></category></item><item><title><![CDATA[如何把std::cout标准输出重定向到vs2019的输出窗口中]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103981338</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103981338</guid><author>shongbee2</author><pubDate>Tue, 14 Jan 2020 23:23:47 +0800</pubDate><description><![CDATA[代码
#include &lt;iostream&gt;
#include &lt;io.h&gt;
#include &lt;fcntl.h&gt;
#include &lt;process.h&gt;
#include &lt;Windows.h&gt;
#include&lt;thread&gt;


int pipeHandles[2];
const int kBufferSize = 4...]]></description><category></category></item><item><title><![CDATA[vs 2017 保存文件 utf8]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103948017</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103948017</guid><author>shongbee2</author><pubDate>Sun, 12 Jan 2020 18:18:48 +0800</pubDate><description><![CDATA[vs 2017 保存文件 utf8
            
            
                
                    
                    原创                                                    ...]]></description><category></category></item><item><title><![CDATA[如何知道应用程序或DLL是x64还是X86]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103944932</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103944932</guid><author>shongbee2</author><pubDate>Sun, 12 Jan 2020 17:47:24 +0800</pubDate><description><![CDATA[How to know app is X64 or X86
overview
we can’t get the platform information through the app properties, but if the platform is not compatible, the app will occur error, especial load not compatible d...]]></description><category></category></item><item><title><![CDATA[如何在WinMain入口下创建控制台窗口]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103944403</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103944403</guid><author>shongbee2</author><pubDate>Sun, 12 Jan 2020 12:08:31 +0800</pubDate><description><![CDATA[创建控制台窗口
#include&lt;windows.h&gt;
#include&lt;iostream&gt;

int WINAPI WinMain(HINSTANCE , HINSTANCE, LPSTR, int nCmdShow)
{
    AllocConsole();  //create console
    SetConsoleTitle(L"SHMRenderDebugC...]]></description><category></category></item><item><title><![CDATA[c++17  nodiscard attribute]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103942269</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103942269</guid><author>shongbee2</author><pubDate>Sun, 12 Jan 2020 00:39:23 +0800</pubDate><description><![CDATA[引用信息
C++ attribute: nodiscard
C++17新特性个人总结
我的理解
C++17 添加了这个属性，如果调用者丢弃了函数的返回值，刚好这个函数有nodiscard属性，或则该函数的返回类型是有nodiscard属性的类，枚举等的值类型，则编译器会报 discarding return value of function with ‘nodiscard’ attribute ...]]></description><category></category></item><item><title><![CDATA[error C2712: Cannot use __try in functions that require object unwinding]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/103940988</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/103940988</guid><author>shongbee2</author><pubDate>Sat, 11 Jan 2020 21:40:50 +0800</pubDate><description><![CDATA[Compile Errors
Error
error C2712: Cannot use __try in functions that require object unwinding
中文的意思:无法在需要展开对象的函数中使用try
//some code like this
void testTry()
{
	std::thread threadA(&amp;function1);  //b...]]></description><category></category></item><item><title><![CDATA[代码规范]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/4028062</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/4028062</guid><author>shongbee2</author><pubDate>Thu, 26 Mar 2009 22:41:00 +0800</pubDate><description><![CDATA[     学编程的时间也不短了，从开始的懵懵懂懂到现在的出入江湖，自我提升也很大，随着编程能力的提高，另外一个问题也呼之欲出，那就是编程代码规范的问题。想当年只要程序能运行就不错了，然之程序还要些的尽量高效才，如今不仅好高效，而且要把代码写的很漂亮，很规范，易读易懂。      最初知道代码要写规范是我老师说的，他是一个很好的老师，有次上课，他问我们：“你们的程序是写给什么看的？”我们当时大部分人]]></description><category></category></item><item><title><![CDATA[开始之前]]></title><link>https://blog.youkuaiyun.com/shongbee2/article/details/4016666</link><guid>https://blog.youkuaiyun.com/shongbee2/article/details/4016666</guid><author>shongbee2</author><pubDate>Mon, 23 Mar 2009 12:59:00 +0800</pubDate><description><![CDATA[      申请博客已经N久了，一直不敢自己写，只是这里摘摘，那里抄抄。感觉挺不好意思的。之所以不写是因为水平不够，自己的东西不敢拿出来献丑。可是后来我看了一下浏览量就，才发现我是多么的天真，我不过是宇宙里的一粒沙，谁会在意你的存在，其实就算自己的东西不是很好，也没有关系，因为根本没有人在意你，你也改变不了什么。    想把东西放进博客其实并不是为了什么什么，只是给自己找一个能回忆自己变化的一个地]]></description><category></category></item></channel></rss>