Thread: file.open
View Single Post
Newbie Member
7Mar2008,17:06  
felixfan's Avatar
how can i create several txt file with a different name? which mean that when the program is running, the "xxxxx" will change and i wan to create some files with "xxxx" name.

Thanks in advance!

Code:
file.Open("xxxxx.txt", CFile::modeCreate |
CFile::typeText | CFile::modeWrite | CFile::shareExclusive); 
file.Close();