//整数转化为字符串数 && 字符串数转化为整数
#include
#include
#include
using namespace std;
void itoa()
{
}
void atoi()
{
}
int main(int argc, char *argv[])
{
}
//strcpy函数
#include <cstdlib>
#include <iostream>
using namespace std;
char *strcpy(char *b, char *a)
{
}
int main(int argc, char *argv[])
{
}
//将一个字符串向右移动两位:考察memcpy,strcpy,memset等库函数的使用。
#include <cstdlib>
#include <iostream>
using namespace std;
char *loopmove(char *str, int steps)
{
}
int main(int argc, char *argv[])
{
}
//输入一行字符串,找出其中出现的相同且长度最长的字符串
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
}
//实现C++中的strstr(),即把主串中子串及以后的字符全部返回。不使用已有的函数来完成。
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
char *strstr(char *a, char *b)
{
}
int main(int argc, char *argv[])
{
}
//将一句话里的单词进行倒置,标点符号不倒换。
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
}
//转换字符串格式为原来字符串里的字符+该字符连续出现的个数。可以使用sprintf(),打印到字符串中。
#include <cstdlib>
#include <iostream>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
}