摘要: char* buffer = (char*) malloc(tag_name_len + tag_attributes_len + other_attributes_len + 10);assert(buffer);strcpy(buffer, "<"); strcat(buffer, tag_name);if(tag_attributes_len > 0 && bWriteUserAttributes){ strcat(buffer, " "); strcat(buffer, tag_attributes);}if(othe 阅读全文
posted @ 2009-02-09 17:36 fortest 阅读(147) 评论(0) 推荐(0) 编辑