c#include "stdio.h" #include "stdlib.h" //防真函数,仿真php addslashes...... char* addslashes(char *str) { char replaceStr[] = {""",""",""}; int newStrLen=0; for(int i = 0; i < strlen(str); ++i) { ++newStrLen; for(int j=0;j