header files:

#include <string>         // use String Object you should leading-in it (ps:not string.h,the string.h is belong to the C)
#include <iostream>     // the input and output of C++。
using namespace std;


the output and input of String should use the function cin and cout. (ps:cout not count).

Thanks for the XFreedom

http://www.cnblogs.com/xFreedom/archive/2011/05/16/2048037.html

相关文章:

  • 2022-12-23
  • 2022-01-19
  • 2022-12-23
  • 2022-12-23
  • 2021-08-20
猜你喜欢
  • 2021-11-13
  • 2022-01-28
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-12-26
  • 2021-10-28
相关资源
相似解决方案