Thread
:
wxFile problem
View Single Post
Aug 24th, 2007, 6:10 PM
#
2
DaWei
Resident Grouch
Join Date: Jun 2005
Posts: 6,453
Rep Power:
10
You can get the C string with the .c_str () method. Just pass that as the name of the file when you call wxFile::Open. You WILL need to open the file before writing to it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner:
Grumpy on C++ Exceptions
DaWei on Pointers
DaWei
View Public Profile
Visit DaWei's homepage!
Find More Posts by DaWei