![]() |
cout, cerr and clog in HL
Does anybody know if Half-life is using these standard streams ? (cout, cerr and clog)
I'm asking because I want to redirect them to files and use them for logging and debuging purposes in my bot. If HL used them, I could cause mess by redirecting them. Also If someone is interested in redirecting, heres how it works : Code:
#include <iostream> |
Re: cout, cerr and clog in HL
stdout (and hence cout in C++) is used by the old retail Half-Life dedicated server, but you should still be able to redirect stdout (or cout) to a file.
Steam may or may not use stdout for the server console. I would guess that all of the engine output stuff is now routed to Steam I/O code which would get sent to the Steam GUI instead of the applications standard I/O stream. botman |
All times are GMT +2. The time now is 09:14. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.