23 Dec
2005
23 Dec
'05
4:46 p.m.
Hi Friends: For example I have path "C:\Temp\abcd\hello\", I wish to iterate to get C: , C:\Temp , C:\Temp\abcd , C:\Temp\abcd\hello . I have read code of path::iterator, but not what I expected.... How to do it? I also want to have the code portable for UNIX paths, means also work for "/foo/bar1/bar2/bar3/" ... Thanks for your help! Rgds, David