<font color = red>关键字</font>

解决方案 »

  1.   

    他可以另存再改!建议用php或者c,原理就是把 关键字   代替成<font color = red>关键字</font> 
    我最近作了一个这样的函数
    char *replacestr(char *b)
    {
            char *p;
            int nb = 0 ;
            int np = 0 ;
           int len = strlen(b)+1;
            p = new char[len];
            while (nb<=strlen(b)) {
                    if (b[nb] < 32 && b[nb] > 0) {
                            nb += 2;
                    }
                    p[np] = b[nb];
                    nb++;
                    np++;
            }
            p[np] = '\0';
            return p;
    }