代码片是.h 在上面 不知道怎么传上来,就变成.cpp在上面了。大家凑活看吧。
代码在vs2010和vs2013,编译运行通过。
/******************************************************************************
*
* Copyright (c) 2014,SaiOlive
* Filename: RchEx.h
* Author: SaiOlive
* Version: 1.0
* Editdate: 2014.11.12
* Func List: 1.Set Text Red;
* 2.Get Text Superscript\Subscript;
* Set Text Superscript\Subscript;
* 3.Convert English Symbols to Chinese;
* Convert Chinese Symbols to English;
* Delete Space(Include L" ",L"\r",L"\n");
* Replace
*
* History: 2014.10.23 SaiOlive Original
* 2014.11.12 SaiOlive Add comments
*
* Others:
*
******************************************************************************/
#pragma once
#include
#include