Thread: Basic file io
View Single Post
Old 05-06-2014, 05:06 AM   #3
stw
Human being with feelings
 
stw's Avatar
 
Join Date: Apr 2012
Posts: 279
Default

Quote:
Originally Posted by Xenakios View Post
While I would usually advocate using the C++ standard library for many tasks, file I/O tends to be a sore point where it IMHO just doesn't work well. WDL has the WDL_FileRead and WDL_FileWrite classes (fileread.h and filewrite.h) that might work better. Of course, as usual, no obvious example code exists on how to use them.

If you'd like, I can try writing some code that uses those WDL classes? It would be helpful to know what kind of data exactly you need to write and read, though...
HI Xenakios,
thanks for the hint. The WDL File classes should be my staring point then. I'll take a look into them.
I just need some very basic string i/o. The goal is to store some controller data and registration files which hopefully shouldn't be that hard to accomplish.
But anyway as i said in another thread any working example is worth thousands of lines of theory. If you like to give it a spin you're greatly welcomed! :-)
stw is offline   Reply With Quote