题目描述:
- 编写一个函数,将字符串中的每个单词的倒序输出,字符串中以空格分割各个单词,如果碰到数字则跳过。
详细描述:
- 示例
- 输入:He is a man no12 3456.
- 返回:eH si a nam on12 3456.
本题考查知识点:栈、循环
本题难度:初级
#include <string.h>
#include <iostream>
#include <utility>
#include <vector>
using namespace std;
/*****************************************************************************
Description : 转换字符串
Input Param : char *pInputStr 指向一个字符串的指针
long lInputLen 该字符串的长度
char *pOutputStr 指向一块输出的内存,和输入的字符串是大小是(lInputLen+1)
Output Param : 无
Return Value : 无
*****************************************************************************/
void vConvertMsg(char *pInputStr, long lInputLen, char *pOutputStr)
{
/*