C++ 学习涨姿势汇总

strrev()   字符数组翻转。

USAGE:

  char str_temp[] = "abcd";
  printf("%s\n", str_temp);
  strrev(str_temp);
  printf("%s", str_temp);

posted @ 2014-10-21 20:20  Mr轨迹  阅读(224)  评论(0编辑  收藏  举报