Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
1つのフォルダがあり、その中に別の2つのファイルがあるとします。
しかし、uint QDir :: count()constを使用している場合、2ではなく4が返されます。余分な2は「。」用です。と「..」。私はこれが何であるか理解していません「。」と ".."
「。」は現在のフォルダで、「..」は親フォルダです。これは、WindowsよりもLinuxの方が重要です。フォルダ内のファイルを数えるだけの場合は、無視してかまいません。