asprintf (&buffer, "/bin/echo %s is cool", getenv("USER"));. 如果缓冲区分配一个足够大的字符串与说char * =(string)有什么区别? c printf ...
確定! 回上一頁