摘要:        
#include <iostream>using namespace std;//计算字符串长度size_t str_len(char *str_source){ size_t i = 0; while (*str_source++ != '\0') { ++i; } return i;}//翻转char* reverse_str(char* str_source){	size_t len = str_len(str_source);	char* str_new = new char[len+1];	for (size_t i = 0; i != len; ++i)    阅读全文
posted @ 2011-07-16 21:11
hailong
阅读(224)
评论(0)
推荐(0)
        
 
                    
                     
                    
                 
                    
                
 
         浙公网安备 33010602011771号
浙公网安备 33010602011771号