Reputation: 2973
Suppose i have one folder and inside that another two files are there .
But when i am using uint QDir::count () const, it gives me 4 instead of 2 . the extra 2 is for "." and ".." .i dont understand what is this "." and ".."
Upvotes: 0
Views: 120
Reputation: 22346
"." is the current folder, and ".." is the parent folder. It's more a Linux thing, than a Windows thing. You can ignore them if you're just counting files in a folder.
Upvotes: 1