2014-02-11 45 views

回答

0

man tmpnam

The pathname that is created, has a directory prefix P_tmpdir. (Both L_tmpnam and P_tmpdir are defined in <stdio.h> 

改變該字符串要存儲文件

要刪除或移動
+0

我沒有得到你。因爲我是新來的C/C + +。 請幫幫我。 我想要一些像代碼一樣的例子。 –

+0

@DharmveerKumar打開這個文件「/include/stdio.h」insude mingw文件夾,並且有一個宏P_tmpdir將宏字符串定義更改爲你想創建tmp文件的任何位置 – user2760375

+0

我改變了在stdio.h中#define _P_tmpdir「\ \ strmTemp「from #define _P_tmpdir」\\「,但它沒有反映任何事情.mux文件正在創建在c:\\文件夾中 –

相關問題