控制台中使用cstring和string

VC 6.0 控制台:

1、使用string  

#include <string>
using namespace std;

2、使用 cstring

  首先设置"在共享 DLL 中使用 MFC",然后

#include <afx.h>

 

 VS2003 控制台

1、使用string

using namespace std;

2、使用csting  

#include <atlstr.h>

 

--------------------------------

新手笔记,欢迎板砖!!

posted @ 2012-02-01 11:29  曾经的碎片  阅读(386)  评论(0编辑  收藏  举报