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

Quote:
Originally Posted by Xenakios View Post
If you need to handle text files, perhaps the C++ standard library facilities might be worth looking into again, after all...What kinds of problems did you encounter while trying to use them? (My own pains with ifstream and ofstream have mostly been when trying to use them for binary files, such as wav-files etc...For text files they may work tolerably enough.)
Hi Xenakios,
thanks for your examples. I'll try to deal with these later.
However when i first tried the standard file i/o libs i was on OSX and got several errors just by including the libs and use of basic codings. I guessed that maybe there should be some special treatment for the WDL lib.
After your advise to look into it again i did the same on my Win OS and could successful do what failed before. So either i definitely did something wrong in my first approach on OSX or there might be platform dependent differences. If i had to guess the voting clearly goes to users (my) failure. ;-)
I'll take the OSX challenge again tomorrow and hopefully it works as good as now.
Again thanks for helping :-)
stw is offline   Reply With Quote