Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Creating a directory

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Creating a directory
#4141
Posted by: qx128 2004-05-17 06:07:04
Hello,

I need to create, navigate, and remove directories. When I didn't find much support for directory functions in wxWindows, I looked to the STL. But, the STL has limited directory functionality as well. Any recommendation on the best (cross-platform) solution out there?

Also, I am currently using the STL for file reading and writing, because it has the getline() function, (which is very convenient). Does wxWindows have anything like that? All I found was wxFile::Read(...) function that requires a number of bytes to be input. I'd rather read a whole line at a time.

 Thanks!
   -- qx128
Message2. Re: Creating a directory
#4148
Posted by: qx128 2004-05-17 14:23:30
Turns out wxFileName does what I'm looking for. Problem solved!

-- qx128
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-3-29  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0