CFile::modeNoTruncate 这个参数到底是怎么回事?
我不太懂这个参数用来干嘛的,下边是msdn所解释的,可能我E文不太好,不太懂它所说的意思,能否帮我通俗地说一下,并举个例子说明一下有用上这个参数及没用上这个参数有什么影响
CFile::modeNoTruncate Combine this value with modeCreate. If the file being created already exists, it is not truncated to 0 length. Thus the file is guaranteed to open, either as a newly created file or as an existing file. This might be useful, for example, when opening a settings file that may or may not exist already. This option applies to CStdioFile as well.