How to force Visual Studio preprocessor case sensitivity with #includes?

后端 未结 5 1091
一生所求
一生所求 2021-02-14 03:38

If you have a header file named ThisIsAHeaderFile.h, the following will still locate the file in Visual Studio:

#include 
5条回答
  •  时光取名叫无心
    2021-02-14 04:31

    Both FAT and NTFS are case insensitive file systems. Foo and fOO are the same file as far as they are concerned. Although the Windows OS will preserve the case you use for a file. If you name a file ThisIsAheaderFile.h it will show up that way in the file system. Although all system function calls to open that file can use any casing they want.

提交回复
热议问题