如何使用 execl()
函数打开 .txt
文件? c 中是否有任何其他函数可以在 Ubuntu 中的 gedit
中打开文件。
问候
最佳答案
Is there any other function in c to open a file in gedit
最简单的是
system("gedit file.txt");
作为旁注,您可能需要查看 xdg-open
。
关于c - 在 excel() 中打开 .txt 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13439565/