system("gnome-terminal -e ./应用程序名"); 这样会打开一个终端并运行指定的应用程序, 能不能把终端这个黑框隐藏掉?? 在运行的时候只打开应用程序.
收起
system(你的程序)
报告相同问题?