1、window live write 插件:http://www.cnblogs.com/liuxianan/archive/2013/04/13/3018732.html
2、推荐代码高亮插件:WindowsLiveWriter.CNBlogs.CodeHighlighter
3、构造函数只能用初始化成员列表方式的例子
#include<iostream>
class CMember
{
public:
CMember(int x)
{}
};
class CMyClass
{
public:
CMyClass();
CMember m_member;
};
CMyClass::CMyClass():m_member(2)
{}
void main()
{
CMember* pm = new CMember(2);
//CMember *pm=new CMember;会出错
CMyClass myclass;
}
错误提示: