Quote:
Originally posted by _Elixia_
For example, in MSVC++, the following are the same:
FILE_FLAG_RANDOM_ACCESS in CreateFile &
"rR" in fopen.
FILE_FLAG_SEQUENTIAL_SCAN in CreateFile &
"rS" in fopen.
Although these flags are mentioned as compiler specific, I wonder how many compilers actually support them? Since bad characters are normally ignored, by placing them at the end of the format string, it should increase speed under compilers that support it and be ignored on ones that dont :)
Thanks for the information. I could not find this information on the