[Insight-users] Directory.h
John Hiller
john.hiller53 at gmail.com
Sun Sep 18 15:18:43 EDT 2011
hi, yeah thanks, you're absolutely right.
Is this only for Windows or can expect the same to happen on a Mac or Linux,
if not is there a way to work around this, somehow detect the OS using itk
or c++?
Thanks,
John
On Sun, Sep 18, 2011 at 7:52 PM, robert tamburo <robert.tamburo at gmail.com>wrote:
> It's probably returning . and ..
>
> On Sun, Sep 18, 2011 at 1:14 PM, John Hiller <john.hiller53 at gmail.com>wrote:
>
>> Hi itk user
>>
>> Im using itkDirectory to get the number of files in a folder I later
>> generate in my program. It seems that number is always two more than what is
>> actually in the folder.
>>
>> I manually generate the folder and then test out the program (the folder
>> is expected to be empty) and it detects 2 files in the folder.
>>
>> Is this normal, can I use the number 2 to compensate for what I need to
>> do? Or is this a machine problem, which I doubt, because I am telling
>> Windows to show me hidden files and there are none.
>>
>> If this is an itkDirectory property, please let me know so that I can
>> compensate, I need my program to be compatible on other machines and
>> platforms.
>>
>> Thanks
>> John
>>
>> _____________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Kitware offers ITK Training Courses, for more information visit:
>> http://www.kitware.com/products/protraining.html
>>
>> Please keep messages on-topic and check the ITK FAQ at:
>> http://www.itk.org/Wiki/ITK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.itk.org/mailman/listinfo/insight-users
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20110918/907ac59b/attachment.htm>
More information about the Insight-users
mailing list