Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

graeme

hello and trace

This topic is 6154 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I''m after a nice function to dump info in a text file in order to trace whatever I wish from my program (unless there is something built into VCpp, (I saw some things on the ''net about a Trace function but it seems to be part of MFC...).) Since I suspect this is a really ubiquitous generic sort of thing that most programmers must use I wondered if anyone could point me in the right direction? Thanks!

Share this post


Link to post
Share on other sites
Advertisement
C : fopen, fprintf and the other "f" functions
C++ : fstream classes (ofstream in this case)

Share this post


Link to post
Share on other sites
If I''m not mistaken, Trace is a wrapper for OutputDebugString. There might be suitable code in the reference section. Dean Harding has a nifty multi-threaded logging library you might want to check out http://www.codeka.com/

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!