- 博客(3)
- 资源 (5)
- 问答 (1)
- 收藏
- 关注
原创 #include <string.h>与'string' : undeclared identifier相关问题
错误: #include …… string str("abc"); …… error C2065: 'string' : undeclared identifier 解释: 细节 加不加“.h” #include using namespace std;
2013-05-31 18:38:38
1164
原创 全排列--递归法
#include #include void Swap(char *a ,char * b) { char t=*a; *a=*b; *b=t; } void AllRange(char *p,int begin, int end) { if(begin==end) printf("%s",p); else{ for(int i=begin;i
2013-05-29 14:04:18
358
原创 把字符串中相同的字母去重
//////////////////////////////////////////////////////////////////// //abcdgedgshaaa---->abcdgesh /////////////////////////////////////////////////////////////////// #include #include using names
2013-05-27 16:42:06
734
TA创建的收藏夹 TA关注的收藏夹
TA关注的人