Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
System
»
sf::err output to wofstream
Print
Pages: [
1
]
Author
Topic: sf::err output to wofstream (Read 4206 times)
0 Members and 1 Guest are viewing this topic.
dk123
Newbie
Posts: 49
sf::err output to wofstream
«
on:
November 02, 2015, 08:35:02 pm »
Hi, I'm currently using a wofstream to output to my debug file with wide characters.
I was wondering if sf::err() could somehow take in a wofstream instead of an ofstream.
Does anyone have any ideas?
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11030
Re: sf::err output to wofstream
«
Reply #1 on:
November 02, 2015, 10:49:01 pm »
Not that I know of, but I bet you could somehow redirect the sf::err() buffer to go into a wofstream buffer.
Logged
Official FAQ:
https://www.sfml-dev.org/faq.php
Official Discord Server:
https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog:
https://duerrenberger.dev/blog/
Mr_Blame
Full Member
Posts: 192
Re: sf::err output to wofstream
«
Reply #2 on:
February 12, 2016, 03:56:32 pm »
Well, sf::err return ostream instance. Ostream is
char
only.
Logged
Mr_Blame
Full Member
Posts: 192
Re: sf::err output to wofstream
«
Reply #3 on:
February 12, 2016, 03:58:17 pm »
But you can redirect sfml error output to file stream.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
System
»
sf::err output to wofstream
anything